diff options
author | Alexander Kurtakov | 2018-11-15 07:08:26 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-11-15 07:46:20 +0000 |
commit | 0c39858df327def23a12b23c1576e4578344c974 (patch) | |
tree | 96adfdd3471262a9c8d25935156aae74242030a7 | |
parent | e1d13153d5ae44f27fb366b9d7946abea4c6b3d4 (diff) | |
download | rt.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>
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); } } |