mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
Fix some externalized strings warnings
This commit is contained in:
parent
328e07f782
commit
a8925af740
1 changed files with 4 additions and 4 deletions
|
@ -94,12 +94,12 @@ public abstract class RemoteCommandShell implements IAdaptable, IRemoteCommandSh
|
||||||
if (currentNames.size() > 0)
|
if (currentNames.size() > 0)
|
||||||
{
|
{
|
||||||
int number = 2;
|
int number = 2;
|
||||||
String newName = name + " " + number;
|
String newName = name + " " + number; //$NON-NLS-1$
|
||||||
if (currentNames.contains(name)) {
|
if (currentNames.contains(name)) {
|
||||||
while (currentNames.contains(newName))
|
while (currentNames.contains(newName))
|
||||||
{
|
{
|
||||||
number++;
|
number++;
|
||||||
newName = name + " " + number;
|
newName = name + " " + number; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
name = newName;
|
name = newName;
|
||||||
}
|
}
|
||||||
|
@ -279,8 +279,8 @@ public abstract class RemoteCommandShell implements IAdaptable, IRemoteCommandSh
|
||||||
{
|
{
|
||||||
String type = getCommandSubSystem().getHost().getSystemType();
|
String type = getCommandSubSystem().getHost().getSystemType();
|
||||||
|
|
||||||
return (type.equals("Windows") ||
|
return (type.equals("Windows") || //$NON-NLS-1$
|
||||||
type.equals("Local") && System.getProperty("os.name").toLowerCase().startsWith("win"));
|
type.equals("Local") && System.getProperty("os.name").toLowerCase().startsWith("win")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue