[jboss-cvs] JBossAS SVN: r92891 - projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 27 15:43:41 EDT 2009
Author: alesj
Date: 2009-08-27 15:43:41 -0400 (Thu, 27 Aug 2009)
New Revision: 92891
Modified:
projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/FrameworkEventsPluginImpl.java
Log:
Remove JDK6 @Override code.
Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/FrameworkEventsPluginImpl.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/FrameworkEventsPluginImpl.java 2009-08-27 19:33:38 UTC (rev 92890)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/FrameworkEventsPluginImpl.java 2009-08-27 19:43:41 UTC (rev 92891)
@@ -59,20 +59,19 @@
final Logger log = Logger.getLogger(FrameworkEventsPluginImpl.class);
/** The bundle listeners */
- private Map<Bundle, List<BundleListener>> bundleListeners = new ConcurrentHashMap<Bundle, List<BundleListener>>();
+ private final Map<Bundle, List<BundleListener>> bundleListeners = new ConcurrentHashMap<Bundle, List<BundleListener>>();
/** The framework listeners */
- private Map<Bundle, List<FrameworkListener>> frameworkListeners = new ConcurrentHashMap<Bundle, List<FrameworkListener>>();
+ private final Map<Bundle, List<FrameworkListener>> frameworkListeners = new ConcurrentHashMap<Bundle, List<FrameworkListener>>();
/** The service listeners */
- private Map<Bundle, List<ServiceListenerRegistration>> serviceListeners = new ConcurrentHashMap<Bundle, List<ServiceListenerRegistration>>();
+ private final Map<Bundle, List<ServiceListenerRegistration>> serviceListeners = new ConcurrentHashMap<Bundle, List<ServiceListenerRegistration>>();
public FrameworkEventsPluginImpl(OSGiBundleManager bundleManager)
{
super(bundleManager);
}
- @Override
public void addBundleListener(Bundle bundle, BundleListener listener)
{
if (listener == null)
@@ -93,7 +92,6 @@
}
}
- @Override
public void removeBundleListener(Bundle bundle, BundleListener listener)
{
if (listener == null)
@@ -114,7 +112,6 @@
}
}
- @Override
public void removeBundleListeners(Bundle bundle)
{
synchronized (bundleListeners)
@@ -124,7 +121,6 @@
}
}
- @Override
public void addFrameworkListener(Bundle bundle, FrameworkListener listener)
{
if (listener == null)
@@ -145,7 +141,6 @@
}
}
- @Override
public void removeFrameworkListener(Bundle bundle, FrameworkListener listener)
{
if (listener == null)
@@ -166,7 +161,6 @@
}
}
- @Override
public void removeFrameworkListeners(Bundle bundle)
{
synchronized (frameworkListeners)
@@ -176,7 +170,6 @@
}
}
- @Override
public void addServiceListener(Bundle bundle, ServiceListener listener, Filter filter)
{
if (listener == null)
@@ -199,7 +192,6 @@
}
}
- @Override
public void removeServiceListener(Bundle bundle, ServiceListener listener)
{
if (listener == null)
@@ -220,7 +212,6 @@
}
}
- @Override
public void removeServiceListeners(Bundle bundle)
{
synchronized (serviceListeners)
@@ -230,7 +221,6 @@
}
}
- @Override
public void fireBundleEvent(Bundle bundle, int type)
{
synchronized (bundleListeners)
@@ -286,7 +276,6 @@
}
}
- @Override
public void fireFrameworkEvent(Bundle bundle, int type, Throwable throwable)
{
synchronized (frameworkListeners)
@@ -321,7 +310,6 @@
}
}
- @Override
public void fireServiceEvent(Bundle bundle, int type, OSGiServiceState service)
{
synchronized (serviceListeners)
@@ -391,7 +379,8 @@
/**
* Create a new ServiceListenerRegistration.
- *
+ *
+ * @param listener service listener
* @param filter the filter
*/
public ServiceListenerRegistration(ServiceListener listener, Filter filter)
More information about the jboss-cvs-commits
mailing list