From 9fc9ae6de962880f88018daf5cf2701b14cacf67 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sun, 20 Nov 2022 20:30:45 +0100 Subject: [PATCH] Fix warning about non-externalized String Change-Id: I00b2132eac6d6ad2701d3f8151eb8c80ad6d679d --- org.eclipse.jgit/src/org/eclipse/jgit/patch/PatchApplier.java | 3 +-- 1 file changed, 1 insertion(+), 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 b9bf09084..ca8ea5d17 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 @@ private boolean isNoNewlineAtEndOfFile( 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$ } /**