You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2007/10/18 04:14:32 UTC
svn commit: r585785 -
/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechWorker.java
Author: doogie
Date: Wed Oct 17 19:14:31 2007
New Revision: 585785
URL: http://svn.apache.org/viewvc?rev=585785&view=rev
Log:
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);