felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickh...@apache.org
Subject svn commit: r726698 - in /felix/trunk/framework/src/main/java/org/apache/felix/framework: BundleImpl.java BundleInfo.java
Date Mon, 15 Dec 2008 14:26:27 GMT
Author: rickhall
Date: Mon Dec 15 06:26:27 2008
New Revision: 726698

URL: http://svn.apache.org/viewvc?rev=726698&view=rev
Log:
Changed some final/volatile modifiers.

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleImpl.java
    felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleInfo.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleImpl.java?rev=726698&r1=726697&r2=726698&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleImpl.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleImpl.java Mon Dec
15 06:26:27 2008
@@ -28,8 +28,8 @@
 class BundleImpl extends FelixBundle
 {
     private final long m_id;
-    private Felix m_felix = null;
-    private RegularBundleInfo m_info = null;
+    private final Felix m_felix;
+    private volatile RegularBundleInfo m_info = null;
 
     protected BundleImpl(Felix felix, RegularBundleInfo info)
     {

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleInfo.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleInfo.java?rev=726698&r1=726697&r2=726698&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleInfo.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/BundleInfo.java Mon Dec
15 06:26:27 2008
@@ -30,7 +30,7 @@
 
 abstract class BundleInfo
 {
-    private Logger m_logger = null;
+    private final Logger m_logger;
     private boolean m_removalPending = false;
     private IModule[] m_modules = null;
     private int m_state = 0;
@@ -408,4 +408,4 @@
 
         return pd;
     }
-}
+}
\ No newline at end of file



Mime
View raw message