commit | 7f3307520725482a6037d7aeb7860d81c79677f1 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Mon Dec 15 14:26:27 2008 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Mon Dec 15 14:26:27 2008 +0000 |
tree | 00eff765022898772b5bd672a58736ac80711a80 | |
parent | 0bfa0abd2ddcc0bb857a1dfe62a1a358ae902a5a [diff] |
Changed some final/volatile modifiers. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@726698 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleImpl.java b/framework/src/main/java/org/apache/felix/framework/BundleImpl.java index 08c9ebc..2377933 100644 --- a/framework/src/main/java/org/apache/felix/framework/BundleImpl.java +++ b/framework/src/main/java/org/apache/felix/framework/BundleImpl.java
@@ -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) {
diff --git a/framework/src/main/java/org/apache/felix/framework/BundleInfo.java b/framework/src/main/java/org/apache/felix/framework/BundleInfo.java index ff84b19..032d6ae 100644 --- a/framework/src/main/java/org/apache/felix/framework/BundleInfo.java +++ b/framework/src/main/java/org/apache/felix/framework/BundleInfo.java
@@ -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