You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/02/08 23:14:01 UTC

svn commit: r1068611 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java

Author: mrisaliti
Date: Tue Feb  8 22:14:01 2011
New Revision: 1068611

URL: http://svn.apache.org/viewvc?rev=1068611&view=rev
Log:
Remove compilation warnings in CommonDimensionServices (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java?rev=1068611&r1=1068610&r2=1068611&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/olap/CommonDimensionServices.java Tue Feb  8 22:14:01 2011
@@ -29,7 +29,6 @@ import org.ofbiz.entity.GenericEntityExc
 import org.ofbiz.entity.GenericValue;
 import org.ofbiz.entity.util.EntityUtil;
 import org.ofbiz.service.DispatchContext;
-import org.ofbiz.service.LocalDispatcher;
 import org.ofbiz.service.ServiceUtil;
 
 /**
@@ -45,10 +44,9 @@ public class CommonDimensionServices {
      * The DateDimension entity is a nearly constant dimension ("Slowly Changing Dimension" or SCD):
      * the default strategy to handle data change is "Type 1" (i.e. overwrite the values).
      */
-    public static Map loadDateDimension(DispatchContext ctx, Map context) {
+    public static Map<String, Object> loadDateDimension(DispatchContext ctx, Map<String, ? extends Object> context) {
         Delegator delegator = ctx.getDelegator();
-        LocalDispatcher dispatcher = ctx.getDispatcher();
-
+        
         Date fromDate = (Date) context.get("fromDate");
         Date thruDate = (Date) context.get("thruDate");