Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2015-05-22 10:38:38 -0400
committerFlorian Waibel2015-05-22 10:38:38 -0400
commit5938d5d2d4f5069b49bac136eeb73026d1e623ef (patch)
tree0f63da872f5f47ce16034ec2104baa3014602998
parentce798ca16e9da43abed6ed4de7553e5e6af37f6f (diff)
downloadorg.eclipse.virgo.medic-5938d5d2d4f5069b49bac136eeb73026d1e623ef.tar.gz
org.eclipse.virgo.medic-5938d5d2d4f5069b49bac136eeb73026d1e623ef.tar.xz
org.eclipse.virgo.medic-5938d5d2d4f5069b49bac136eeb73026d1e623ef.zip
Removes unnecessary @SuppressWarnings("unchecked")
-rw-r--r--org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/impl/config/ConfigurationAdminConfigurationProvider.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/impl/config/ConfigurationAdminConfigurationProvider.java b/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/impl/config/ConfigurationAdminConfigurationProvider.java
index fcaa3bb..a47ef3f 100644
--- a/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/impl/config/ConfigurationAdminConfigurationProvider.java
+++ b/org.eclipse.virgo.medic.core/src/main/java/org/eclipse/virgo/medic/impl/config/ConfigurationAdminConfigurationProvider.java
@@ -104,7 +104,6 @@ public final class ConfigurationAdminConfigurationProvider implements Configurat
private final class MedicConfigurationListener implements ConfigurationListener {
- @SuppressWarnings("unchecked")
public void configurationEvent(ConfigurationEvent configEvent) {
if (CONFIG_ADMIN_PID.equals(configEvent.getPid()) && configEvent.getType() == ConfigurationEvent.CM_UPDATED) {
setPropertiesFromConfigurationAdmin((ServiceReference<ConfigurationAdmin>)configEvent.getReference());
@@ -112,7 +111,6 @@ public final class ConfigurationAdminConfigurationProvider implements Configurat
}
}
- @SuppressWarnings("unchecked")
public void configurationEvent(ConfigurationEvent event) {
if (event.getType() == ConfigurationEvent.CM_UPDATED && CONFIG_ADMIN_PID.equals(event.getPid())) {
setPropertiesFromConfigurationAdmin((ServiceReference<ConfigurationAdmin>)event.getReference());

Back to the top