From 2396bab3396ae3d7d99adeb5a81f32604deba825 Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Thu, 18 Apr 2013 10:55:23 +0200 Subject: [PATCH] Fix examples with refs/heads/ in RefSpec Javadoc Change-Id: I06c1c7242a1b4c8f499c27a598cca714803799b7 Signed-off-by: Chris Aniszczyk --- .../src/org/eclipse/jgit/transport/RefSpec.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java index 53a7b02be..9b38b2933 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/RefSpec.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008, Shawn O. Pearce + * Copyright (C) 2008, 2013 Shawn O. Pearce * and other copyright owners as documented in the project's IP log. * * This program and the accompanying materials are made available @@ -106,13 +106,13 @@ public class RefSpec implements Serializable { *

* Specifications are typically one of the following forms: *

    - *
  • refs/head/master
  • - *
  • refs/head/master:refs/remotes/origin/master
  • - *
  • refs/head/*:refs/remotes/origin/*
  • - *
  • +refs/head/master
  • - *
  • +refs/head/master:refs/remotes/origin/master
  • - *
  • +refs/head/*:refs/remotes/origin/*
  • - *
  • :refs/head/master
  • + *
  • refs/heads/master
  • + *
  • refs/heads/master:refs/remotes/origin/master
  • + *
  • refs/heads/*:refs/remotes/origin/*
  • + *
  • +refs/heads/master
  • + *
  • +refs/heads/master:refs/remotes/origin/master
  • + *
  • +refs/heads/*:refs/remotes/origin/*
  • + *
  • :refs/heads/master
  • *
* * @param spec