diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2022-11-20 20:30:45 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2022-11-20 20:30:45 +0100 |
commit | 9fc9ae6de962880f88018daf5cf2701b14cacf67 (patch) | |
tree | d220ff6e87d413517d2b5782cdedca76c68b2d49 | |
parent | fe3908076ed6c533187563f6129d28b5ba2e052a (diff) | |
download | jgit-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.java | 3 |
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$ } /** |