Skip to content

Commit

Permalink
fix NON-NLS warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T committed Nov 6, 2023
1 parent 49b8e24 commit 768a518
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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$
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
*
* @author mlippert
*/
@SuppressWarnings("nls")
public class SupplementerRegistry implements ISupplementerRegistry {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 768a518

Please sign in to comment.