mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
No bugzilla, but this check-in removes a warning over the use of a new (Java 1.5) keyword 'enum'.
This commit is contained in:
parent
29158d86f8
commit
81f165b355
2 changed files with 6 additions and 6 deletions
|
@ -1340,9 +1340,9 @@ public class Tool extends BuildObject implements ITool, IOptionCategory {
|
|||
break;
|
||||
|
||||
case IOption.ENUMERATED :
|
||||
String enum = option.getEnumCommand(option.getSelectedEnum());
|
||||
if (enum.length() > 0) {
|
||||
sb.append(enum);
|
||||
String enumVal = option.getEnumCommand(option.getSelectedEnum());
|
||||
if (enumVal.length() > 0) {
|
||||
sb.append(enumVal);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -444,9 +444,9 @@ public class ToolReference implements IToolReference {
|
|||
break;
|
||||
|
||||
case IOption.ENUMERATED :
|
||||
String enum = option.getEnumCommand(option.getSelectedEnum());
|
||||
if (enum.length() > 0) {
|
||||
buf.append(enum + WHITE_SPACE);
|
||||
String enumVal = option.getEnumCommand(option.getSelectedEnum());
|
||||
if (enumVal.length() > 0) {
|
||||
buf.append(enumVal + WHITE_SPACE);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue