Author: doogie
Date: Wed Oct 17 19:14:31 2007
New Revision: 585785
URL:
http://svn.apache.org/viewvc?rev=585785&view=revLog:
Use the single-arg variant of findAllCache.
Modified:
ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java
Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java?rev=585785&r1=585784&r2=585785&view=diff==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java Wed Oct 17 19:14:31 2007
@@ -471,7 +471,7 @@
target.put("tryEntity", new Boolean(tryEntity));
try {
- Collection contactMechTypes = delegator.findAllCache("ContactMechType", null);
+ Collection contactMechTypes = delegator.findAllCache("ContactMechType");
if (contactMechTypes != null) {
target.put("contactMechTypes", contactMechTypes);
@@ -638,7 +638,7 @@
target.put("tryEntity", new Boolean(tryEntity));
try {
- Collection contactMechTypes = delegator.findAllCache("ContactMechType", null);
+ Collection contactMechTypes = delegator.findAllCache("ContactMechType");
if (contactMechTypes != null) {
target.put("contactMechTypes", contactMechTypes);