mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix warnings.
This commit is contained in:
parent
e93f7fa30a
commit
0c73673ec2
3 changed files with 5 additions and 5 deletions
|
@ -245,7 +245,7 @@ public class CPathIncludeSymbolEntryPage extends CPathIncludeSymbolEntryBasePage
|
|||
status = entryError.getStatus();
|
||||
} else {
|
||||
status = new Status(IStatus.WARNING, CUIPlugin.PLUGIN_ID, -1, NLS.bind(
|
||||
CPathEntryMessages.CPElement_status_multiplePathErrors, //$NON-NLS-1$
|
||||
CPathEntryMessages.CPElement_status_multiplePathErrors,
|
||||
String.valueOf(nErrorEntries)), null);
|
||||
}
|
||||
}
|
||||
|
@ -836,7 +836,7 @@ public class CPathIncludeSymbolEntryPage extends CPathIncludeSymbolEntryBasePage
|
|||
InputDialog dialog;
|
||||
if (existing == null) {
|
||||
dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title,
|
||||
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "",
|
||||
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", //$NON-NLS-1$
|
||||
null);
|
||||
} else {
|
||||
StringBuffer initialValue = new StringBuffer();
|
||||
|
|
|
@ -293,7 +293,7 @@ public class CPathIncludeSymbolEntryPerFilePage extends CPathIncludeSymbolEntryB
|
|||
status = entryError.getStatus();
|
||||
} else {
|
||||
status = new Status(IStatus.WARNING, CUIPlugin.PLUGIN_ID, -1, NLS.bind(
|
||||
CPathEntryMessages.CPElement_status_multiplePathErrors, //$NON-NLS-1$
|
||||
CPathEntryMessages.CPElement_status_multiplePathErrors,
|
||||
String.valueOf(nErrorEntries)), null);
|
||||
}
|
||||
}
|
||||
|
@ -892,7 +892,7 @@ public class CPathIncludeSymbolEntryPerFilePage extends CPathIncludeSymbolEntryB
|
|||
InputDialog dialog;
|
||||
if (existing == null) {
|
||||
dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title,
|
||||
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "",
|
||||
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", //$NON-NLS-1$
|
||||
null);
|
||||
} else {
|
||||
StringBuffer initialValue = new StringBuffer();
|
||||
|
|
|
@ -1457,7 +1457,7 @@ public class NewClassCreationWizardPage extends NewElementWizardPage {
|
|||
}
|
||||
if (NewClassWizardUtil.getSourceFolder(res) == null) {
|
||||
if (isUseDefaultSelected()) {
|
||||
status.setError(NLS.bind(NewClassWizardMessages.NewClassCreationWizardPage_error_NotASourceFolder, folderPath)); //$NON-NLS-1$
|
||||
status.setError(NLS.bind(NewClassWizardMessages.NewClassCreationWizardPage_error_NotASourceFolder, folderPath));
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue