Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-10-14 16:22:34 -0400
committerAlexander Kurtakov2019-10-14 16:22:34 -0400
commit5201c9f22e3a675981ca35dd6a48edabfa656b54 (patch)
treee93e1ab139259ac6bae9380c11a19e5bdad11ba0
parentb0b41232e97162084ddf67c9fd712c1c545c30d5 (diff)
downloadrt.equinox.framework-5201c9f22e3a675981ca35dd6a48edabfa656b54.tar.gz
rt.equinox.framework-5201c9f22e3a675981ca35dd6a48edabfa656b54.tar.xz
rt.equinox.framework-5201c9f22e3a675981ca35dd6a48edabfa656b54.zip
Remove unneeded NON-NLS
Change-Id: I8383a6d642bafe2c8a5808aaac271aefc39b21bc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 19b826085..bd9d17d00 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -562,7 +562,7 @@ public class Main {
if (protectBase && (System.getProperty(PROP_SHARED_CONFIG_AREA) == null)) {
System.err.println("This application is configured to run in a cascaded mode only."); //$NON-NLS-1$
- System.setProperty(PROP_EXITCODE, Integer.toString(14)); //$NON-NLS-1$
+ System.setProperty(PROP_EXITCODE, Integer.toString(14));
return;
}
// need to ensure that getInstallLocation is called at least once to initialize the value.
@@ -2004,7 +2004,7 @@ public class Main {
path = new String(chars);
}
if (path.toLowerCase().endsWith(".jar")) //$NON-NLS-1$
- path = path.substring(0, path.lastIndexOf('/') + 1); //$NON-NLS-1$
+ path = path.substring(0, path.lastIndexOf('/') + 1);
if (path.toLowerCase().endsWith("/plugins/")) //$NON-NLS-1$
path = path.substring(0, path.length() - "/plugins/".length()); //$NON-NLS-1$
try {

Back to the top