Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-11-15 07:08:26 +0000
committerAlexander Kurtakov2018-11-15 07:46:20 +0000
commit0c39858df327def23a12b23c1576e4578344c974 (patch)
tree96adfdd3471262a9c8d25935156aae74242030a7
parente1d13153d5ae44f27fb366b9d7946abea4c6b3d4 (diff)
downloadrt.equinox.bundles-0c39858df327def23a12b23c1576e4578344c974.tar.gz
rt.equinox.bundles-0c39858df327def23a12b23c1576e4578344c974.tar.xz
rt.equinox.bundles-0c39858df327def23a12b23c1576e4578344c974.zip
Fix compile warnings in o.e.equinox.security
Silence non-fixable ones. Change-Id: If4739b079a1a009c032bacb7df6672a52005a367 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/SecurePreferencesMapper.java1
-rw-r--r--bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/security/storage/SecurePreferencesFactory.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/SecurePreferencesMapper.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/SecurePreferencesMapper.java
index e286a7643..4c0a7a36a 100644
--- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/SecurePreferencesMapper.java
+++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/SecurePreferencesMapper.java
@@ -26,6 +26,7 @@ import org.eclipse.osgi.framework.log.FrameworkLogEntry;
import org.eclipse.osgi.service.environment.EnvironmentInfo;
import org.eclipse.osgi.util.NLS;
+@SuppressWarnings({"rawtypes", "unchecked"})
public class SecurePreferencesMapper {
/**
diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/security/storage/SecurePreferencesFactory.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/security/storage/SecurePreferencesFactory.java
index 4fbf4ba78..af29f65c7 100644
--- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/security/storage/SecurePreferencesFactory.java
+++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/security/storage/SecurePreferencesFactory.java
@@ -70,7 +70,7 @@ final public class SecurePreferencesFactory {
* @return a secure preferences
* @throws IOException if unsupported URLs types are passed in, or if location is not accessible
*/
- static public ISecurePreferences open(URL location, Map options) throws IOException {
+ static public ISecurePreferences open(URL location, @SuppressWarnings("rawtypes") Map options) throws IOException {
return SecurePreferencesMapper.open(location, options);
}
}

Back to the top