Author: mbrohl
Date: Sat Jun 18 10:46:03 2016 New Revision: 1748956 URL: http://svn.apache.org/viewvc?rev=1748956&view=rev Log: Applied patch for OFBIZ-7411: Commonext : Remove unused imports from groovy files for code optimization. Thanks Ankit Joshi for providing the patch. Modified: ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/ChangeOrgPartyId.groovy ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/FindFacility.groovy ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProdCatalog.groovy ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProductStoreAndWebSite.groovy Modified: ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/ChangeOrgPartyId.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/ChangeOrgPartyId.groovy?rev=1748956&r1=1748955&r2=1748956&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/ChangeOrgPartyId.groovy (original) +++ ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/ChangeOrgPartyId.groovy Sat Jun 18 10:46:03 2016 @@ -17,8 +17,6 @@ * under the License. */ -import org.ofbiz.base.util.*; - //partyAcctgPrefAndGroupList partyAcctgPrefAndGroupList = []; partyAcctgPrefAndGroup = delegator.findList("PartyAcctgPrefAndGroup", null, null, null, null, false); Modified: ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/FindFacility.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/FindFacility.groovy?rev=1748956&r1=1748955&r2=1748956&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/FindFacility.groovy (original) +++ ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/FindFacility.groovy Sat Jun 18 10:46:03 2016 @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - import org.ofbiz.base.util.* import org.ofbiz.entity.util.EntityUtil; findResult = delegator.findByAnd("Facility", [ownerPartyId: partyId], null, false); Modified: ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProdCatalog.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProdCatalog.groovy?rev=1748956&r1=1748955&r2=1748956&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProdCatalog.groovy (original) +++ ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProdCatalog.groovy Sat Jun 18 10:46:03 2016 @@ -16,9 +16,9 @@ * specific language governing permissions and limitations * under the License. */ - import org.ofbiz.base.util.* + import org.ofbiz.base.util.UtilValidate; import org.ofbiz.entity.util.EntityUtil; - import org.ofbiz.product.catalog.*; + import org.ofbiz.product.catalog.CatalogWorker; prodCatalog = null; prodCatalogId = parameters.prodCatalogId; Modified: ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProductStoreAndWebSite.groovy URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProductStoreAndWebSite.groovy?rev=1748956&r1=1748955&r2=1748956&view=diff ============================================================================== --- ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProductStoreAndWebSite.groovy (original) +++ ofbiz/trunk/applications/commonext/groovyScripts/ofbizsetup/GetProductStoreAndWebSite.groovy Sat Jun 18 10:46:03 2016 @@ -16,7 +16,6 @@ * specific language governing permissions and limitations * under the License. */ - import org.ofbiz.base.util.* import org.ofbiz.entity.util.EntityUtil; productStoreId = null; |
Free forum by Nabble | Edit this page |