commit | 06ef284191ad045bc34bc898220aa0865933c6b1 | [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 | ee20c684439fe8cd8859e4ba258aa3718a2416f9 [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