aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2022-11-20 20:30:45 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2022-11-20 20:30:45 +0100
commit9fc9ae6de962880f88018daf5cf2701b14cacf67 (patch)
treed220ff6e87d413517d2b5782cdedca76c68b2d49
parentfe3908076ed6c533187563f6129d28b5ba2e052a (diff)
downloadjgit-9fc9ae6de962880f88018daf5cf2701b14cacf67.tar.gz
jgit-9fc9ae6de962880f88018daf5cf2701b14cacf67.zip
Fix warning about non-externalized String
Change-Id: I00b2132eac6d6ad2701d3f8151eb8c80ad6d679d
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java b/org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java
index b9bf090848..ca8ea5d170 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java
@@ -947,8 +947,7 @@ public class PatchApplier {
0, buf.length);
RawText lhrt = new RawText(buf);
return lhrt.getString(lhrt.size() - 1)
- .equals("\\ No newline at end of file"); // $NON-NLS-1$,
- // $NON-NLS-2$
+ .equals("\\ No newline at end of file"); //$NON-NLS-1$
}
/**