Browse Source

Add missing @since tags

Change-Id: I9754e2124c0fe6ad2dbde5597c3ed10f1c3efef5
Signed-off-by: Lars Vogel <Lars.Vogel@gmail.com>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-3.1
Lars Vogel 12 years ago committed by Matthias Sohn
parent
commit
594408e522
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java
  3. 5
      org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

1
org.eclipse.jgit/src/org/eclipse/jgit/api/CherryPickCommand.java

@ -252,6 +252,7 @@ public class CherryPickCommand extends GitCommand<CherryPickResult> {
* @param prefix
* including ":"
* @return {@code this}
* @since 3.1
*/
public CherryPickCommand setReflogPrefix(final String prefix) {
this.reflogPrefix = prefix;

2
org.eclipse.jgit/src/org/eclipse/jgit/api/StatusCommand.java

@ -91,6 +91,7 @@ public class StatusCommand extends GitCommand<Status> {
* @param path
* a path is relative to the top level of the repository
* @return {@code this}
* @since 3.1
*/
public StatusCommand addPath(String path) {
if (paths == null)
@ -104,6 +105,7 @@ public class StatusCommand extends GitCommand<Status> {
*
* @return the paths for which the status is shown or <code>null</code> if
* the complete status for the whole repo is shown.
* @since 3.1
*/
public List<String> getPaths() {
return paths;

5
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

@ -128,12 +128,16 @@ public class UploadPack {
* advertised.
* <p>
* This may happen, for example, when a custom {@link RefFilter} is set.
*
* @since 3.1
*/
TIP,
/**
* Client may ask for any commit reachable from any reference, even if that
* reference wasn't advertised.
*
* @since 3.1
*/
REACHABLE_COMMIT_TIP,
@ -551,6 +555,7 @@ public class UploadPack {
* @param tc
* configuration controlling transfer options. If null the source
* repository's settings will be used.
* @since 3.1
*/
public void setTransferConfig(TransferConfig tc) {
this.transferConfig = tc != null ? tc : new TransferConfig(db);

Loading…
Cancel
Save