Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-10-11 06:32:42 +0000
committerAlexander Kurtakov2019-10-11 06:32:42 +0000
commit64b8a5f880b3a519e467adc8cd6d4df30936dbc3 (patch)
treefbef233b55baa641de30d777c9346c5ba7e0e986
parent4a7380c8f9006408ed518c4b1238c6253354ecb2 (diff)
downloadeclipse.platform.text-64b8a5f880b3a519e467adc8cd6d4df30936dbc3.tar.gz
eclipse.platform.text-64b8a5f880b3a519e467adc8cd6d4df30936dbc3.tar.xz
eclipse.platform.text-64b8a5f880b3a519e467adc8cd6d4df30936dbc3.zip
Remove unnecessary NON-NLS.
Change-Id: I20ea2fdee8e59d2cc669f4207dd6565842eab1b2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/LastSaveReferenceProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/LastSaveReferenceProvider.java b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/LastSaveReferenceProvider.java
index d91aa42e6..b8f97053a 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/LastSaveReferenceProvider.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/internal/editors/quickdiff/LastSaveReferenceProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2018 IBM Corporation and others.
+ * Copyright (c) 2000, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -417,7 +417,7 @@ public class LastSaveReferenceProvider implements IQuickDiffReferenceProvider, I
* - byte order mark is not valid for UTF-8
*/
private static boolean isUTF8BOM(String encoding, IStorage storage) throws CoreException {
- if (storage instanceof IFile && StandardCharsets.UTF_8.name().equals(encoding)) { //$NON-NLS-1$
+ if (storage instanceof IFile && StandardCharsets.UTF_8.name().equals(encoding)) {
IFile file= (IFile) storage;
IContentDescription description= file.getContentDescription();
if (description != null) {

Back to the top