svn commit: r918732 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model: ModelFieldTypeReader.java ModelGroupReader.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r918732 - in /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model: ModelFieldTypeReader.java ModelGroupReader.java

doogie-3
Author: doogie
Date: Wed Mar  3 22:14:28 2010
New Revision: 918732

URL: http://svn.apache.org/viewvc?rev=918732&view=rev
Log:
Bad formatting, { shouldn't be on a line by itself.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelGroupReader.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java?rev=918732&r1=918731&r2=918732&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java Wed Mar  3 22:14:28 2010
@@ -73,8 +73,7 @@
         }
         String tempModelName = datasourceInfo.fieldTypeName;
         ModelFieldTypeReader reader = readers.get(tempModelName);
-        if (reader == null)
-        {
+        if (reader == null) {
             synchronized (readers) {
                 FieldTypeInfo fieldTypeInfo = EntityConfigUtil.getFieldTypeInfo(tempModelName);
                 if (fieldTypeInfo == null) {

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelGroupReader.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelGroupReader.java?rev=918732&r1=918731&r2=918732&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelGroupReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelGroupReader.java Wed Mar  3 22:14:28 2010
@@ -106,8 +106,7 @@
     }
 
     public Map<String, String> getGroupCache() {
-        if (this.groupCache == null) // don't want to block here
-        {
+        if (this.groupCache == null) { // don't want to block here
             synchronized (ModelGroupReader.class) {
                 // must check if null again as one of the blocked threads can still enter
                 if (this.groupCache == null) {