1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fixed a couple of warnings in the log

This commit is contained in:
Andrew Gvozdev 2011-11-28 15:43:29 -05:00
parent 99b341c407
commit 349a2aa036
3 changed files with 2 additions and 4 deletions

View file

@ -135,8 +135,7 @@ public class MBSLanguageSettingsProvider extends AbstractExecutableExtensionBase
} }
@Override @Override
public LanguageSettingsStorage clone() throws CloneNotSupportedException { public LanguageSettingsStorage clone() throws CloneNotSupportedException {
throw new CloneNotSupportedException(); return this;
// return this;
} }
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {

View file

@ -212,7 +212,6 @@ public class Messages extends NLS {
public static String PropertyPageDefsTab_9; public static String PropertyPageDefsTab_9;
public static String PropertyPageDefsTab_showIncludeFileTab; public static String PropertyPageDefsTab_showIncludeFileTab;
public static String PropertyPageDefsTab_showProvidersTab; public static String PropertyPageDefsTab_showProvidersTab;
public static String RefreshPolicyExceptionDialog_addButtonLabel;
public static String RefreshPolicyExceptionDialog_addDialogLabel; public static String RefreshPolicyExceptionDialog_addDialogLabel;
public static String RefreshPolicyExceptionDialog_AddExceptionInfoDialog_message; public static String RefreshPolicyExceptionDialog_AddExceptionInfoDialog_message;
public static String RefreshPolicyExceptionDialog_AddExceptionInfoDialog_title; public static String RefreshPolicyExceptionDialog_AddExceptionInfoDialog_title;

View file

@ -199,7 +199,7 @@ public class CConfigurationSpecSettings implements ICSettingsStorage{
LanguageSettingsStorage clone = base.lspPersistedState.get(providerId).clone(); LanguageSettingsStorage clone = base.lspPersistedState.get(providerId).clone();
lspPersistedState.put(providerId, clone); lspPersistedState.put(providerId, clone);
} catch (CloneNotSupportedException e) { } catch (CloneNotSupportedException e) {
CCorePlugin.log(e); CCorePlugin.log("Not able to clone language settings storage:" + e); //$NON-NLS-1$
} }
} }
} }