diff options
2 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.commons.notifications.core/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.mylyn.commons.notifications.core/.settings/org.eclipse.jdt.ui.prefs index d92dfc1c..88b6ee43 100644 --- a/org.eclipse.mylyn.commons.notifications.core/.settings/org.eclipse.jdt.ui.prefs +++ b/org.eclipse.mylyn.commons.notifications.core/.settings/org.eclipse.jdt.ui.prefs @@ -1,4 +1,3 @@ -#Wed Mar 02 16:00:08 PST 2011 cleanup_settings_version=2 eclipse.preferences.version=1 editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true @@ -18,6 +17,7 @@ sp_cleanup.add_missing_deprecated_annotations=true sp_cleanup.add_missing_methods=false sp_cleanup.add_missing_nls_tags=false sp_cleanup.add_missing_override_annotations=true +sp_cleanup.add_missing_override_annotations_interface_methods=false sp_cleanup.add_serial_version_id=false sp_cleanup.always_use_blocks=true sp_cleanup.always_use_parentheses_in_expressions=false @@ -30,6 +30,7 @@ sp_cleanup.format_source_code_changes_only=false sp_cleanup.make_local_variable_final=false sp_cleanup.make_parameters_final=false sp_cleanup.make_private_fields_final=true +sp_cleanup.make_type_abstract_if_missing_method=false sp_cleanup.make_variable_declarations_final=true sp_cleanup.never_use_blocks=false sp_cleanup.never_use_parentheses_in_expressions=true @@ -44,7 +45,7 @@ sp_cleanup.remove_private_constructors=true sp_cleanup.remove_trailing_whitespaces=true sp_cleanup.remove_trailing_whitespaces_all=true sp_cleanup.remove_trailing_whitespaces_ignore_empty=false -sp_cleanup.remove_unnecessary_casts=true +sp_cleanup.remove_unnecessary_casts=false sp_cleanup.remove_unnecessary_nls_tags=true sp_cleanup.remove_unused_imports=false sp_cleanup.remove_unused_local_variables=false diff --git a/org.eclipse.mylyn.commons.notifications.core/src/org/eclipse/mylyn/commons/notifications/core/NotificationEnvironment.java b/org.eclipse.mylyn.commons.notifications.core/src/org/eclipse/mylyn/commons/notifications/core/NotificationEnvironment.java index d7a26863..e0eaeb85 100644 --- a/org.eclipse.mylyn.commons.notifications.core/src/org/eclipse/mylyn/commons/notifications/core/NotificationEnvironment.java +++ b/org.eclipse.mylyn.commons.notifications.core/src/org/eclipse/mylyn/commons/notifications/core/NotificationEnvironment.java @@ -54,7 +54,7 @@ public class NotificationEnvironment { bundle = Platform.getBundle(Platform.PI_RUNTIME); } if (bundle != null) { - String versionString = bundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION); + String versionString = (String) bundle.getHeaders().get(org.osgi.framework.Constants.BUNDLE_VERSION); try { return new Version(versionString); } catch (IllegalArgumentException e) { |