felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject svn commit: r611504 - /felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java
Date Sat, 12 Jan 2008 22:57:57 GMT
Author: donsez
Date: Sat Jan 12 14:57:55 2008
New Revision: 611504

URL: http://svn.apache.org/viewvc?rev=611504&view=rev
Log:
remove Java 5 generics

Modified:
    felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java

Modified: felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java
URL: http://svn.apache.org/viewvc/felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java?rev=611504&r1=611503&r2=611504&view=diff
==============================================================================
--- felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java
(original)
+++ felix/sandbox/donsez/wireadminbinder/src/main/java/org/apache/felix/sandbox/wireadminbinder/Extender.java
Sat Jan 12 14:57:55 2008
@@ -33,14 +33,8 @@
  */
 public class Extender implements BundleActivator, BundleListener {
 	
-	private Map<Bundle,BaseActivator> baseActivators=new HashMap<Bundle,BaseActivator>();
+	private Map/*<Bundle,BaseActivator>*/ baseActivators=new HashMap/*<Bundle,BaseActivator>*/();
 
-	public Extender() {
-	}
-
-	/**
-	 * 
-	 */
 	public void start(BundleContext bundleContext) throws Exception {
 		// TODO init a trace system
 		
@@ -99,8 +93,8 @@
 			return;
 		}
 		synchronized (baseActivators) {
-			BaseActivator baseActivator=baseActivators.remove(bundle);
-			if(baseActivator!=null) baseActivator.stop(bundle.getBundleContext());
+			BaseActivator baseActivator=(BaseActivator)baseActivators.remove(bundle);
+			if(baseActivator!=null) baseActivator.stop(context);
 		}
 	}
 	



Mime
View raw message