summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2011-12-05 16:21:07 (EST)
committerSteffen Pingel2011-12-05 16:21:07 (EST)
commit8b5d5214bc61fa256165b94e349dc57def9da44d (patch)
tree3130a5b6bbac997d2b58e4c0ffbc5ad4f155e131
parent4696fb5a3d08da66aa5f6c56308f09ae1ac68148 (diff)
downloadorg.eclipse.mylyn.commons-8b5d5214bc61fa256165b94e349dc57def9da44d.zip
org.eclipse.mylyn.commons-8b5d5214bc61fa256165b94e349dc57def9da44d.tar.gz
org.eclipse.mylyn.commons-8b5d5214bc61fa256165b94e349dc57def9da44d.tar.bz2
RESOLVED - bug 360301: [api] make provisional packages API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=360301 Change-Id: Icfc7d202028b51fd2928a1165465fd81ba2e12b3
-rw-r--r--org.eclipse.mylyn.commons.notifications.core/.settings/org.eclipse.jdt.ui.prefs5
-rw-r--r--org.eclipse.mylyn.commons.notifications.core/src/org/eclipse/mylyn/commons/notifications/core/NotificationEnvironment.java2
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 d92dfc1..88b6ee4 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 d7a2686..e0eaeb8 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) {