diff options
author | Shawn Pearce <spearce@spearce.org> | 2010-10-29 10:43:32 -0400 |
---|---|---|
committer | Code Review <codereview-daemon@eclipse.org> | 2010-10-29 10:43:32 -0400 |
commit | 68f6c49ee25325b57ec777846614eb51968682cf (patch) | |
tree | 0154a7d78967b84f8d4fb18c85b38767a7936d76 | |
parent | 8cbed3462ea93dfbd50d8cdf1160aa622acd3178 (diff) | |
parent | d36c80fd048fc55d7ac31ae62eb67fbac9b12e31 (diff) | |
download | jgit-68f6c49ee25325b57ec777846614eb51968682cf.tar.gz jgit-68f6c49ee25325b57ec777846614eb51968682cf.zip |
Merge "Remove unnecessary null check"
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/PullCommand.java | 3 |
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(); |