Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java
index 0f96fe36d6..c90b2a47d3 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/FileDiff.java
@@ -287,7 +287,7 @@ public class FileDiff {
private void outputEclipseDiff(final StringBuilder d, final Repository db,
final ObjectReader reader, final DiffFormatter diffFmt)
throws IOException {
- if (!(getBlobs().length == 2))
+ if (getBlobs().length != 2)
throw new UnsupportedOperationException(
"Not supported yet if the number of parents is different from one"); //$NON-NLS-1$

Back to the top