From 4d840fc6db6edf8fc924bdf8191d3c611029e63a Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Sun, 20 Apr 2014 15:54:10 -0700 Subject: [PATCH] blame: Remove unnecessary curly braces around single statement if Change-Id: I8bcab44785fe08bbf3519c634e57ebfea8d3f0f9 --- .../src/org/eclipse/jgit/blame/BlameGenerator.java | 3 +-- 1 file changed, 1 insertion(+), 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 dd6717b6d..89a8846bc 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();