svn commit: r718655 - in /ofbiz/trunk/applications: party/src/org/ofbiz/party/party/PartyServices.java product/src/org/ofbiz/product/product/ProductWorker.java

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

svn commit: r718655 - in /ofbiz/trunk/applications: party/src/org/ofbiz/party/party/PartyServices.java product/src/org/ofbiz/product/product/ProductWorker.java

doogie-3
Author: doogie
Date: Tue Nov 18 09:15:50 2008
New Revision: 718655

URL: http://svn.apache.org/viewvc?rev=718655&view=rev
Log:
javac in openjdk is a bit more stupid.

Modified:
    ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
    ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java?rev=718655&r1=718654&r2=718655&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/party/PartyServices.java Tue Nov 18 09:15:50 2008
@@ -667,7 +667,7 @@
                 for (GenericValue pacm: c) {
                     GenericValue party = delegator.makeValue("Party", UtilMisc.toMap("partyId", pacm.get("partyId"), "partyTypeId", pacm.get("partyTypeId")));
 
-                    parties.add(UtilMisc.toMap("party", party));
+                    parties.add(UtilMisc.<String, GenericValue>toMap("party", party));
                 }
             }
         } catch (GenericEntityException e) {
@@ -703,7 +703,7 @@
                 for (GenericValue pacm: c) {
                     GenericValue party = delegator.makeValue("Party", UtilMisc.toMap("partyId", pacm.get("partyId"), "partyTypeId", pacm.get("partyTypeId")));
 
-                    parties.add(UtilMisc.toMap("party", party));
+                    parties.add(UtilMisc.<String, GenericValue>toMap("party", party));
                 }
             }
         } catch (GenericEntityException e) {
@@ -743,7 +743,7 @@
                 for (GenericValue ul: ulc) {
                     GenericValue party = delegator.makeValue("Party", UtilMisc.toMap("partyId", ul.get("partyId"), "partyTypeId", ul.get("partyTypeId")));
 
-                    parties.add(UtilMisc.toMap("party", party));
+                    parties.add(UtilMisc.<String, GenericValue>toMap("party", party));
                 }
             }
         } catch (GenericEntityException e) {
@@ -793,7 +793,7 @@
                 for (GenericValue person: pc) {
                     GenericValue party = delegator.makeValue("Party", UtilMisc.toMap("partyId", person.get("partyId"), "partyTypeId", "PERSON"));
 
-                    parties.add(UtilMisc.toMap("person", person, "party", party));
+                    parties.add(UtilMisc.<String, GenericValue>toMap("person", person, "party", party));
                 }
             }
         } catch (GenericEntityException e) {
@@ -833,7 +833,7 @@
                 for (GenericValue group: pc) {
                     GenericValue party = delegator.makeValue("Party", UtilMisc.toMap("partyId", group.get("partyId"), "partyTypeId", "PARTY_GROUP"));
 
-                    parties.add(UtilMisc.toMap("partyGroup", group, "party", party));
+                    parties.add(UtilMisc.<String, GenericValue>toMap("partyGroup", group, "party", party));
                 }
             }
         } catch (GenericEntityException e) {

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java?rev=718655&r1=718654&r2=718655&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/product/ProductWorker.java Tue Nov 18 09:15:50 2008
@@ -503,7 +503,7 @@
                             }
                         GenericValue productFeatureType = delegator.findByPrimaryKey("ProductFeatureType", UtilMisc.toMap("productFeatureTypeId",
                          productFeatureAppl.getString("productFeatureTypeId")));
-                        featureList.add(UtilMisc.toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
+                        featureList.add(UtilMisc.<String, String>toMap("productFeatureTypeId", productFeatureAppl.getString("productFeatureTypeId"),
                                                         "description", productFeatureType.getString("description")));  
                         oldType = productFeatureAppl.getString("productFeatureTypeId");
                     }