1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Fix warnings.

This commit is contained in:
Markus Schorn 2008-11-27 09:16:09 +00:00
parent e93f7fa30a
commit 0c73673ec2
3 changed files with 5 additions and 5 deletions

View file

@ -245,7 +245,7 @@ public class CPathIncludeSymbolEntryPage extends CPathIncludeSymbolEntryBasePage
status = entryError.getStatus(); status = entryError.getStatus();
} else { } else {
status = new Status(IStatus.WARNING, CUIPlugin.PLUGIN_ID, -1, NLS.bind( 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); String.valueOf(nErrorEntries)), null);
} }
} }
@ -836,7 +836,7 @@ public class CPathIncludeSymbolEntryPage extends CPathIncludeSymbolEntryBasePage
InputDialog dialog; InputDialog dialog;
if (existing == null) { if (existing == null) {
dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title, dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title,
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", //$NON-NLS-1$
null); null);
} else { } else {
StringBuffer initialValue = new StringBuffer(); StringBuffer initialValue = new StringBuffer();

View file

@ -293,7 +293,7 @@ public class CPathIncludeSymbolEntryPerFilePage extends CPathIncludeSymbolEntryB
status = entryError.getStatus(); status = entryError.getStatus();
} else { } else {
status = new Status(IStatus.WARNING, CUIPlugin.PLUGIN_ID, -1, NLS.bind( 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); String.valueOf(nErrorEntries)), null);
} }
} }
@ -892,7 +892,7 @@ public class CPathIncludeSymbolEntryPerFilePage extends CPathIncludeSymbolEntryB
InputDialog dialog; InputDialog dialog;
if (existing == null) { if (existing == null) {
dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title, dialog = new InputDialog(getShell(), CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_title,
CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", CPathEntryMessages.IncludeSymbolEntryPage_addSymbol_message, "", //$NON-NLS-1$
null); null);
} else { } else {
StringBuffer initialValue = new StringBuffer(); StringBuffer initialValue = new StringBuffer();

View file

@ -1457,7 +1457,7 @@ public class NewClassCreationWizardPage extends NewElementWizardPage {
} }
if (NewClassWizardUtil.getSourceFolder(res) == null) { if (NewClassWizardUtil.getSourceFolder(res) == null) {
if (isUseDefaultSelected()) { 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; return status;
} }
} }