aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2010-10-29 10:43:32 -0400
committerCode Review <codereview-daemon@eclipse.org>2010-10-29 10:43:32 -0400
commit68f6c49ee25325b57ec777846614eb51968682cf (patch)
tree0154a7d78967b84f8d4fb18c85b38767a7936d76
parent8cbed3462ea93dfbd50d8cdf1160aa622acd3178 (diff)
parentd36c80fd048fc55d7ac31ae62eb67fbac9b12e31 (diff)
downloadjgit-68f6c49ee25325b57ec777846614eb51968682cf.tar.gz
jgit-68f6c49ee25325b57ec777846614eb51968682cf.zip
Merge "Remove unnecessary null check"
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java
index acbf3f10aa..4fe050b2a3 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java
@@ -202,8 +202,7 @@ public class PullCommand extends GitCommand<PullResult> {
FetchCommand fetch = new FetchCommand(repo);
fetch.setRemote(remote);
- if (monitor != null)
- fetch.setProgressMonitor(monitor);
+ fetch.setProgressMonitor(monitor);
fetch.setTimeout(this.timeout);
fetchRes = fetch.call();