Author: jleroux
Date: Mon May 23 09:10:57 2011
New Revision: 1126399
URL:
http://svn.apache.org/viewvc?rev=1126399&view=revLog:
Correct indentation for r1126379
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java?rev=1126399&r1=1126398&r2=1126399&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/UtilCache.java Mon May 23 09:10:57 2011
@@ -190,12 +190,11 @@ public class UtilCache<K, V> implements
public static String getPropertyParam(ResourceBundle res, String[] propNames, String parameter) {
try {
for (String propName: propNames) {
- if(res.containsKey(propName+ '.' + parameter))
- {
- try {
- return res.getString(propName + '.' + parameter);
- } catch (MissingResourceException e) {}
- }
+ if(res.containsKey(propName+ '.' + parameter)) {
+ try {
+ return res.getString(propName + '.' + parameter);
+ } catch (MissingResourceException e) {}
+ }
}
// don't need this, just return null
//if (value == null) {