summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2014-04-20 15:54:10 -0700
committerShawn Pearce <spearce@spearce.org>2014-04-21 11:43:03 -0700
commit4d840fc6db6edf8fc924bdf8191d3c611029e63a (patch)
tree38a79a14a5523391abbe8ccf78e4ec0282a769f0
parent2ee4d4a2c732171cd33d373df49093ff8ff4b775 (diff)
downloadjgit-4d840fc6db6edf8fc924bdf8191d3c611029e63a.tar.gz
jgit-4d840fc6db6edf8fc924bdf8191d3c611029e63a.zip
blame: Remove unnecessary curly braces around single statement if
Change-Id: I8bcab44785fe08bbf3519c634e57ebfea8d3f0f9
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java b/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
index dd6717b6dd..89a8846bcf 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/blame/BlameGenerator.java
@@ -689,9 +689,8 @@ public class BlameGenerator {
revPool.parseHeaders(parent);
if (!find(parent, n.sourcePath))
continue;
- if (!(n instanceof ReverseCandidate) && idBuf.equals(n.sourceBlob)) {
+ if (!(n instanceof ReverseCandidate) && idBuf.equals(n.sourceBlob))
return blameEntireRegionOnParent(n, parent);
- }
if (ids == null)
ids = new ObjectId[pCnt];
ids[pIdx] = idBuf.toObjectId();