diff options
author | Dave Borowitz <dborowitz@google.com> | 2017-07-05 13:45:25 -0400 |
---|---|---|
committer | Dave Borowitz <dborowitz@google.com> | 2017-07-17 11:56:35 -0400 |
commit | 00a72e22e6d5a4416b8f2484643d25c94d805c96 (patch) | |
tree | 3cfec9169a849570f381c4a644e000d16af33ffa | |
parent | dfb9884dbcbf2ea789e097d5a0edc1d8d13aae79 (diff) | |
download | jgit-00a72e22e6d5a4416b8f2484643d25c94d805c96.tar.gz jgit-00a72e22e6d5a4416b8f2484643d25c94d805c96.zip |
BatchRefUpdate: Document when getPushOptions is null
Change-Id: I4cccda0ec3a8598edb723dc49101a16d603d1e82
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java index 3043d4fcda..3c5ecfb1c8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java @@ -58,6 +58,7 @@ import java.util.HashSet; import java.util.List; import java.util.concurrent.TimeoutException; +import org.eclipse.jgit.annotations.Nullable; import org.eclipse.jgit.internal.JGitText; import org.eclipse.jgit.lib.RefUpdate.Result; import org.eclipse.jgit.revwalk.RevWalk; @@ -323,9 +324,11 @@ public class BatchRefUpdate { /** * Gets the list of option strings associated with this update. * - * @return pushOptions + * @return push options that were passed to {@link #execute}; prior to calling + * {@link #execute}, always returns null. * @since 4.5 */ + @Nullable public List<String> getPushOptions() { return pushOptions; } |