Author: adrianc
Date: Wed May 19 16:30:06 2010
New Revision: 946262
URL:
http://svn.apache.org/viewvc?rev=946262&view=revLog:
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;
}