summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Liebig2008-02-21 05:24:21 (EST)
committerStefan Liebig2008-02-21 05:24:21 (EST)
commit0d4d5c9b6c10c3def4b98aaf835f622927202ba7 (patch)
tree84a403632be3012b5eaec49a486cd33e12091917
parentfd1a165a2329dfcf6131bc0987648610cc08df1e (diff)
downloadorg.eclipse.riena-0d4d5c9b6c10c3def4b98aaf835f622927202ba7.zip
org.eclipse.riena-0d4d5c9b6c10c3def4b98aaf835f622927202ba7.tar.gz
org.eclipse.riena-0d4d5c9b6c10c3def4b98aaf835f622927202ba7.tar.bz2
lazy init has to be synchronized
-rw-r--r--org.eclipse.riena.communication.console/src/org/eclipse/riena/internal/communication/console/Activator.java2
-rw-r--r--org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java2
-rw-r--r--org.eclipse.riena.communication.factory.hessian/src/org/eclipse/riena/internal/communication/factory/hessian/Activator.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.riena.communication.console/src/org/eclipse/riena/internal/communication/console/Activator.java b/org.eclipse.riena.communication.console/src/org/eclipse/riena/internal/communication/console/Activator.java
index 023b3a7..1d06623 100644
--- a/org.eclipse.riena.communication.console/src/org/eclipse/riena/internal/communication/console/Activator.java
+++ b/org.eclipse.riena.communication.console/src/org/eclipse/riena/internal/communication/console/Activator.java
@@ -77,7 +77,7 @@ public class Activator implements BundleActivator {
return CONTEXT;
}
- public Logger getLogger(String name) {
+ public synchronized Logger getLogger(String name) {
if (logUtil == null) {
logUtil = new LogUtil(CONTEXT);
}
diff --git a/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java b/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
index d47d65e..2ec6298 100644
--- a/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
+++ b/org.eclipse.riena.communication.core/src/org/eclipse/riena/internal/communication/core/Activator.java
@@ -79,7 +79,7 @@ public class Activator implements BundleActivator {
return plugin;
}
- public Logger getLogger(String name) {
+ public synchronized Logger getLogger(String name) {
if (logUtil == null) {
logUtil = new LogUtil(CONTEXT);
}
diff --git a/org.eclipse.riena.communication.factory.hessian/src/org/eclipse/riena/internal/communication/factory/hessian/Activator.java b/org.eclipse.riena.communication.factory.hessian/src/org/eclipse/riena/internal/communication/factory/hessian/Activator.java
index 994a1ab..c9d7493 100644
--- a/org.eclipse.riena.communication.factory.hessian/src/org/eclipse/riena/internal/communication/factory/hessian/Activator.java
+++ b/org.eclipse.riena.communication.factory.hessian/src/org/eclipse/riena/internal/communication/factory/hessian/Activator.java
@@ -68,7 +68,7 @@ public class Activator implements BundleActivator {
return CONTEXT;
}
- public Logger getLogger(String name) {
+ public synchronized Logger getLogger(String name) {
if (logUtil == null) {
logUtil = new LogUtil(CONTEXT);
}