mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 12:55:40 +02:00
Fix some NLS warnings
This commit is contained in:
parent
1e65c86123
commit
040091bf60
3 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ public abstract class GNUScannerExtensionConfiguration extends AbstractScannerEx
|
||||||
private static final FunctionStyleMacro __builtin_constant_p = new FunctionStyleMacro(
|
private static final FunctionStyleMacro __builtin_constant_p = new FunctionStyleMacro(
|
||||||
"__builtin_constant_p".toCharArray(), //$NON-NLS-1$
|
"__builtin_constant_p".toCharArray(), //$NON-NLS-1$
|
||||||
"0".toCharArray(), //$NON-NLS-1$
|
"0".toCharArray(), //$NON-NLS-1$
|
||||||
new char[][] { "exp".toCharArray() }); //$NON-NLS-1$//$NON-NLS-2$
|
new char[][] { "exp".toCharArray() }); //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return
|
* @return
|
||||||
|
|
|
@ -288,7 +288,7 @@ public class CASTProblem extends CASTNode implements IASTProblem {
|
||||||
offset = f.getNodeOffset();
|
offset = f.getNodeOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
Object[] args = new Object[] { msg, file, new Integer( offset ) }; //$NON-NLS-1$
|
Object[] args = new Object[] { msg, file, new Integer( offset ) };
|
||||||
message = ParserMessages.getFormattedString(AST_PROBLEM_PATTERN, args);
|
message = ParserMessages.getFormattedString(AST_PROBLEM_PATTERN, args);
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ public class ScannerASTProblem extends ASTNode implements IASTProblem {
|
||||||
file = f.getFileName();
|
file = f.getFileName();
|
||||||
line = f.getStartingLineNumber();
|
line = f.getStartingLineNumber();
|
||||||
}
|
}
|
||||||
Object[] args = new Object[] { msg, file, new Integer(line) }; //$NON-NLS-1$
|
Object[] args = new Object[] { msg, file, new Integer(line) };
|
||||||
message = ParserMessages.getFormattedString(PROBLEM_PATTERN, args);
|
message = ParserMessages.getFormattedString(PROBLEM_PATTERN, args);
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue