Преглед на файлове

BatchRefUpdate: Document when getPushOptions is null

Change-Id: I4cccda0ec3a8598edb723dc49101a16d603d1e82
tags/v4.9.0.201710071750-r
Dave Borowitz преди 7 години
родител
ревизия
00a72e22e6
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4
    1
      org.eclipse.jgit/src/org/eclipse/jgit/lib/BatchRefUpdate.java

+ 4
- 1
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;
}

Loading…
Отказ
Запис