felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r759830 - /felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
Date Mon, 30 Mar 2009 01:39:00 GMT
Author: marrs
Date: Mon Mar 30 01:39:00 2009
New Revision: 759830

URL: http://svn.apache.org/viewvc?rev=759830&view=rev
Log:
FELIX-992 fixed the signature, fixed some typos in the docs.

Modified:
    felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java

Modified: felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java?rev=759830&r1=759829&r2=759830&view=diff
==============================================================================
--- felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
(original)
+++ felix/trunk/dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceDependency.java
Mon Mar 30 01:39:00 2009
@@ -85,7 +85,9 @@
         }
     };
     
-    // Class used to wrap service properties behing a Map
+    /**
+     * Entry to wrap service properties behind a Map.
+     */
     private final static class ServicePropertiesMapEntry implements Map.Entry {
         private final String m_key;
         private Object m_value;
@@ -130,7 +132,9 @@
         }
     }
 
-    // Class used to wrap service properties behing a Map
+    /**
+     * Wraps service properties behind a Map.
+     */
     private final static class ServicePropertiesMap extends AbstractMap {
         private final ServiceReference m_ref;
 
@@ -155,13 +159,12 @@
             return set;
         }
     }
-    
-    
+        
     /**
      * Creates a new service dependency.
      * 
      * @param context the bundle context
-     * @param logger 
+     * @param logger the logger
      */
     public ServiceDependency(BundleContext context, Logger logger) {
         m_context = context;
@@ -451,8 +454,8 @@
                 trackedServiceName = m_trackedServiceName;
             }
             done = invokeMethod(instance, currentClazz, methodName,
-                new Class[][] {{ServiceReference.class, trackedServiceName}, {ServiceReference.class,
Object.class}, {ServiceReference.class}, {trackedServiceName}, {Object.class}, {}, {Map.class}},
-                new Object[][] {{reference, service}, {reference, service}, {reference},
{service}, {service}, {}, {new ServicePropertiesMap(reference)}},
+                new Class[][] {{ServiceReference.class, trackedServiceName}, {ServiceReference.class,
Object.class}, {ServiceReference.class}, {trackedServiceName}, {Object.class}, {}, {Map.class,
trackedServiceName}},
+                new Object[][] {{reference, service}, {reference, service}, {reference},
{service}, {service}, {}, {new ServicePropertiesMap(reference), service}},
                 false);
             if (!done) {
                 currentClazz = currentClazz.getSuperclass();



Mime
View raw message