svn commit: r946262 - /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: r946262 - /ofbiz/trunk/framework/widget/src/org/ofbiz/widget/ModelWidget.java

adrianc
Author: adrianc
Date: Wed May 19 16:30:06 2010
New Revision: 946262

URL: http://svn.apache.org/viewvc?rev=946262&view=rev
Log:
Changed two 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=946262&r1=946261&r2=946262&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:30:06 2010
@@ -143,12 +143,12 @@ public class ModelWidget implements Seri
         }
     }
 
-    public LocalDispatcher getDispatcher(Map<String, Object> context) {
+    public static LocalDispatcher getDispatcher(Map<String, Object> context) {
         LocalDispatcher dispatcher = (LocalDispatcher) context.get("dispatcher");
         return dispatcher;
     }
 
-    public Delegator getDelegator(Map<String, Object> context) {
+    public static Delegator getDelegator(Map<String, Object> context) {
         Delegator delegator = (Delegator) context.get("delegator");
         return delegator;
     }