Browse Source

Remove unnecessary null check

The field monitor is never null, it's a NullProgressMonitor when not
explicitly set.

Change-Id: I8ce703a32c28ce5c3455efeb7ed5f5c9a443cbef
stable-0.10
Robin Stocker 14 years ago
parent
commit
d36c80fd04
  1. 1
      org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java

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

@ -202,7 +202,6 @@ public class PullCommand extends GitCommand<PullResult> {
FetchCommand fetch = new FetchCommand(repo);
fetch.setRemote(remote);
if (monitor != null)
fetch.setProgressMonitor(monitor);
fetch.setTimeout(this.timeout);

Loading…
Cancel
Save