Author: mbrohl
Date: Sat Jun 18 10:57:06 2016 New Revision: 1748959 URL: http://svn.apache.org/viewvc?rev=1748959&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/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy Modified: ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy?rev=1748959&r1=1748958&r2=1748959&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy (original) +++ ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy Sat Jun 18 10:57:06 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/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy?rev=1748959&r1=1748958&r2=1748959&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy (original) +++ ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy Sat Jun 18 10:57:06 2016 @@ -16,10 +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 javolution.util.FastList; - import org.ofbiz.product.catalog.*; + import org.ofbiz.product.catalog.CatalogWorker; prodCatalog = null; prodCatalogId = parameters.prodCatalogId; @@ -33,7 +32,7 @@ if(UtilValidate.isEmpty(productStore)){ errMsgList.add("Product Store not set!"); showScreen = "message"; - }else{ + } else{ facility = delegator.findOne("Facility", [facilityId : productStore.inventoryFacilityId], false); webSite = EntityUtil.getFirst(delegator.findByAnd("WebSite", [productStoreId: productStore.productStoreId], null, false)); Modified: ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy?rev=1748959&r1=1748958&r2=1748959&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy (original) +++ ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy Sat Jun 18 10:57:06 2016 @@ -16,10 +16,7 @@ * specific language governing permissions and limitations * under the License. */ - import org.ofbiz.base.util.* import org.ofbiz.entity.util.EntityUtil; - import javolution.util.FastList; - import javolution.util.FastMap; productStoreId = null; Modified: ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy?rev=1748959&r1=1748958&r2=1748959&view=diff ============================================================================== --- ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy (original) +++ ofbiz/branches/release14.12/applications/commonext/webapp/ofbizsetup/organization/changeOrgPartyId.groovy Sat Jun 18 10:57:06 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 |