Author: hoang_to
Date: 2010-11-19 02:33:26 -0500 (Fri, 19 Nov 2010)
New Revision: 5172
Modified:
exo/portal/branches/3.1.x/webui/core/src/main/java/org/exoplatform/webui/application/ConfigurationManager.java
Log:
EXOGTN-129: Remove redundant synchronized block
Modified:
exo/portal/branches/3.1.x/webui/core/src/main/java/org/exoplatform/webui/application/ConfigurationManager.java
===================================================================
---
exo/portal/branches/3.1.x/webui/core/src/main/java/org/exoplatform/webui/application/ConfigurationManager.java 2010-11-19
06:50:02 UTC (rev 5171)
+++
exo/portal/branches/3.1.x/webui/core/src/main/java/org/exoplatform/webui/application/ConfigurationManager.java 2010-11-19
07:33:26 UTC (rev 5172)
@@ -191,20 +191,9 @@
return config;
}
+ process(type);
+
//
- synchronized (this)
- {
- if ((config = configs_.get(key)) == null)
- {
- process(type);
- }
- else
- {
- return config;
- }
- }
-
- //
return configs_.get(key);
}
Show replies by date