NameConflictTreeWalk: Mark repo param @Nullable

This is passed directly to the super constructor, where it is also
@Nullable. Marking it here saves the reader a jump.

Change-Id: Icc8db2f2dc6aae6e591aa4f09a3c283336a5424c
This commit is contained in:
Dave Borowitz 2017-04-04 14:53:17 -04:00
parent db58abbbe8
commit e4672d1c16
1 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@
import java.io.IOException;
import org.eclipse.jgit.annotations.Nullable;
import org.eclipse.jgit.dircache.DirCacheBuilder;
import org.eclipse.jgit.errors.CorruptObjectException;
import org.eclipse.jgit.lib.FileMode;
@ -110,7 +111,7 @@ public NameConflictTreeWalk(final Repository repo) {
* the reader the walker will obtain tree data from.
* @since 4.3
*/
public NameConflictTreeWalk(Repository repo, final ObjectReader or) {
public NameConflictTreeWalk(@Nullable Repository repo, final ObjectReader or) {
super(repo, or);
}