Author: mbrohl
Date: Sat Jun 18 10:52:56 2016 New Revision: 1748957 URL: http://svn.apache.org/viewvc?rev=1748957&view=rev Log: Manually applied patch for OFBIZ-7411: Commonext : Remove unused imports from groovy files for code optimization. Thanks Ankit Joshi for providing the patch. Modified: ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy Modified: ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy?rev=1748957&r1=1748956&r2=1748957&view=diff ============================================================================== --- ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy (original) +++ ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy Sat Jun 18 10:52:56 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/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy?rev=1748957&r1=1748956&r2=1748957&view=diff ============================================================================== --- ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy (original) +++ ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy Sat Jun 18 10:52:56 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/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy?rev=1748957&r1=1748956&r2=1748957&view=diff ============================================================================== --- ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy (original) +++ ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy Sat Jun 18 10:52:56 2016 @@ -16,10 +16,9 @@ * specific language governing permissions and limitations * under the License. */ - import org.ofbiz.base.util.* - import org.ofbiz.entity.util.EntityUtil; +import org.ofbiz.entity.util.EntityUtil; - productStoreId = null; +productStoreId = null; productStore = EntityUtil.getFirst(delegator.findByAnd("ProductStore", [payToPartyId: partyId], null, false)); if(productStore){ Modified: ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy?rev=1748957&r1=1748956&r2=1748957&view=diff ============================================================================== --- ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy (original) +++ ofbiz/branches/release15.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy Sat Jun 18 10:52:56 2016 @@ -17,8 +17,6 @@ * under the License. */ -import org.ofbiz.base.util.*; - //partyAcctgPrefAndGroupList partyAcctgPrefAndGroupList = []; partyAcctgPrefAndGroup = delegator.findList("PartyAcctgPrefAndGroup", null, null, null, null, false); |
Free forum by Nabble | Edit this page |