svn commit: r921305 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

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

svn commit: r921305 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

jacopoc
Author: jacopoc
Date: Wed Mar 10 11:15:30 2010
New Revision: 921305

URL: http://svn.apache.org/viewvc?rev=921305&view=rev
Log:
Minor code simplification: no functional changes.

Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java?rev=921305&r1=921304&r2=921305&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java Wed Mar 10 11:15:30 2010
@@ -1367,7 +1367,7 @@ public class ModelFormField {
     }
 
     public boolean isSortField() {
-        return this.sortField != null ? this.sortField.booleanValue() : false;
+        return this.sortField != null && this.sortField.booleanValue();
     }
 
     /**