svn commit: r1059668 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java

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

svn commit: r1059668 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java

mrisaliti
Author: mrisaliti
Date: Sun Jan 16 21:05:02 2011
New Revision: 1059668

URL: http://svn.apache.org/viewvc?rev=1059668&view=rev
Log:
Remove most of the java compilation warning (generics markup, unused code/import) (OFBIZ-4102)

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java?rev=1059668&r1=1059667&r2=1059668&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/ConvertTree.java Sun Jan 16 21:05:02 2011
@@ -63,7 +63,7 @@ In order ta make this service active add
 */
 
 
-    public static  Map<String, Object> convertTree(DispatchContext dctx, Map context) {
+    public static  Map<String, Object> convertTree(DispatchContext dctx, Map<String, ? extends Object> context) {
         Delegator delegator = dctx.getDelegator();
         LocalDispatcher dispatcher = dctx.getDispatcher();
         GenericValue userLogin = (GenericValue) context.get("userLogin");
@@ -254,7 +254,8 @@ In order ta make this service active add
                 }
     }
 
-    public static  Map<String,Object> createSubContent(int index,String line,String rootContent, Map context, DispatchContext dctx) {
+    public static  Map<String,Object> createSubContent(int index,String line,String rootContent,
+            Map<String, ? extends Object> context, DispatchContext dctx) {
         Delegator delegator = dctx.getDelegator();
         LocalDispatcher dispatcher = dctx.getDispatcher();
         GenericValue userLogin = (GenericValue) context.get("userLogin");