diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java index 2d31e392b0a..7cd1e6960d4 100644 --- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java +++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/SubMonitor.java @@ -1189,9 +1189,9 @@ private static void logProblem(String message) { @Override public String toString() { - return "SubMonitor [totalParent=" + totalParent + ", usedForParent=" + usedForParent + ", usedForChildren=" - + usedForChildren + ", totalForChildren=" + totalForChildren + ", beginTaskCalled=" + beginTaskCalled - + "]"; + return "SubMonitor [totalParent=" + totalParent + ", usedForParent=" + usedForParent + ", usedForChildren=" //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + + usedForChildren + ", totalForChildren=" + totalForChildren + ", beginTaskCalled=" + beginTaskCalled //$NON-NLS-1$ //$NON-NLS-2$ + + "]"; //$NON-NLS-1$ } } 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 cd693bb4eb1..c47de5717a7 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 @@ -1478,7 +1478,7 @@ public int run(String[] args) { } else { // we have an exit code of 13, in most cases the user tries to start a 32/64 bit Eclipse // on a 64/32 bit Eclipse - log("Are you trying to start an 64/32-bit Eclipse on a 32/64-JVM? These must be the same, as Eclipse uses native code."); + log("Are you trying to start an 64/32-bit Eclipse on a 32/64-JVM? These must be the same, as Eclipse uses native code."); //$NON-NLS-1$ } // Return "unlucky" 13 as the exit code. The executable will recognize // this constant and display a message to the user telling them that diff --git a/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingService.java b/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingService.java index 6040f53ebfb..1e73af86f70 100644 --- a/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingService.java +++ b/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingService.java @@ -30,6 +30,7 @@ import org.eclipse.equinox.service.weaving.ICachingService; import org.osgi.framework.Bundle; +@SuppressWarnings("nls") public class CachingService implements ICachingService { SharedClassURLHelper urlhelper; diff --git a/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingServicePlugin.java b/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingServicePlugin.java index bb779c45c72..04e5149cfa2 100644 --- a/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingServicePlugin.java +++ b/bundles/org.eclipse.equinox.weaving.caching.j9/src/org/eclipse/equinox/weaving/internal/caching/j9/CachingServicePlugin.java @@ -28,6 +28,7 @@ /** * The main plugin class to be used in the desktop. */ +@SuppressWarnings("nls") public class CachingServicePlugin implements BundleActivator { public static boolean DEBUG; diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/CachedClassBundleEntry.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/CachedClassBundleEntry.java index 75881af80a9..8dd9d4831a1 100644 --- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/CachedClassBundleEntry.java +++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/CachedClassBundleEntry.java @@ -67,7 +67,7 @@ public URL getFileURL() { @Override public InputStream getInputStream() throws IOException { if (delegate == null) { - System.err.println("error in: " + name); + System.err.println("error in: " + name); //$NON-NLS-1$ } return delegate.getInputStream(); } diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/SupplementerRegistry.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/SupplementerRegistry.java index dbc80ac4205..45004e3d436 100644 --- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/SupplementerRegistry.java +++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/SupplementerRegistry.java @@ -44,6 +44,7 @@ * * @author mlippert */ +@SuppressWarnings("nls") public class SupplementerRegistry implements ISupplementerRegistry { /** diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingBundleFile.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingBundleFile.java index 069bbe77afc..42033a39f75 100644 --- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingBundleFile.java +++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingBundleFile.java @@ -34,6 +34,7 @@ * Those bundle entry objects are used to return class bytes from the cache * instead of the bundle itself. */ +@SuppressWarnings("nls") public class WeavingBundleFile extends AbstractWeavingBundleFile { private final URL url; diff --git a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingHook.java b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingHook.java index 60925e14609..d88425e01b9 100644 --- a/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingHook.java +++ b/bundles/org.eclipse.equinox.weaving.hook/src/org/eclipse/equinox/weaving/hooks/WeavingHook.java @@ -38,6 +38,7 @@ import org.osgi.framework.ServiceReference; import org.osgi.service.packageadmin.PackageAdmin; +@SuppressWarnings("nls") public class WeavingHook extends AbstractWeavingHook { private final WeavingAdaptorFactory adaptorFactory;