felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r830991 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java
Date Thu, 29 Oct 2009 15:05:00 GMT
Author: fmeschbe
Date: Thu Oct 29 15:04:59 2009
New Revision: 830991

URL: http://svn.apache.org/viewvc?rev=830991&view=rev
Log:
FELIX-1825 Fix to naming conventions for private fields

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java?rev=830991&r1=830990&r2=830991&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/DelayedComponentManager.java
Thu Oct 29 15:04:59 2009
@@ -37,7 +37,7 @@
 {
 
     // keep the using bundles as reference "counters" for instance deactivation
-    private final Set usingBundles = new HashSet();
+    private final Set m_usingBundles = new HashSet();
 
     /**
      * @param activator
@@ -67,7 +67,7 @@
         }
 
         // ensure the refence set is also clear
-        usingBundles.clear();
+        m_usingBundles.clear();
     }
 
 
@@ -81,7 +81,7 @@
 
     public synchronized Object getService( Bundle bundle, ServiceRegistration sr )
     {
-        usingBundles.add(bundle);
+        m_usingBundles.add(bundle);
         return state().getService( this );
     }
 
@@ -94,8 +94,8 @@
 
     public void ungetService( Bundle bundle, ServiceRegistration sr, Object service )
     {
-        usingBundles.remove( bundle );
-        if ( usingBundles.isEmpty() )
+        m_usingBundles.remove( bundle );
+        if ( m_usingBundles.isEmpty() )
         {
             state().ungetService( this );
         }



Mime
View raw message