svn commit: r946264 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

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

svn commit: r946264 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

adrianc
Author: adrianc
Date: Wed May 19 16:36:58 2010
New Revision: 946264

URL: http://svn.apache.org/viewvc?rev=946264&view=rev
Log:
Changed two more ModelWidget.java methods to static.


Modified:
    ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java?rev=946264&r1=946263&r2=946264&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java Wed May 19 16:36:58 2010
@@ -116,7 +116,7 @@ public class ModelWidget implements Seri
         return result;
     }
 
-    public int getPaginatorNumber(Map<String, Object> context) {
+    public static int getPaginatorNumber(Map<String, Object> context) {
         int paginator_number = 0;
         Map<String, Object> globalCtx = UtilGenerics.checkMap(context.get("globalContext"));
         if (globalCtx != null) {
@@ -130,7 +130,7 @@ public class ModelWidget implements Seri
         return paginator_number;
     }
 
-    public void incrementPaginatorNumber(Map<String, Object> context) {
+    public static void incrementPaginatorNumber(Map<String, Object> context) {
         Map<String, Object> globalCtx = UtilGenerics.checkMap(context.get("globalContext"));
         if (globalCtx != null) {
             Boolean NO_PAGINATOR = (Boolean) globalCtx.get("NO_PAGINATOR");