mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +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();
|
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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue