You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2016/10/15 12:11:11 UTC
svn commit: r1765042 - in /ofbiz/trunk/specialpurpose/birt/groovyScripts:
accounting/ facility/ order/
Author: mridulpathak
Date: Sat Oct 15 12:11:11 2016
New Revision: 1765042
URL: http://svn.apache.org/viewvc?rev=1765042&view=rev
Log:
Improved: Removed unused imports from groovy files in birt component.
(OFBIZ-8482)
Thanks: Ankit Joshi for contribution.
Modified:
ofbiz/trunk/specialpurpose/birt/groovyScripts/accounting/PaymentReport.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/facility/InventoryItemReport.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/order/CheckReportBy.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/order/NetBeforeOverheadReport.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/order/OrderByChannel.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/order/ProductDemandReport.groovy
ofbiz/trunk/specialpurpose/birt/groovyScripts/order/SalesReport.groovy
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/accounting/PaymentReport.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/accounting/PaymentReport.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/accounting/PaymentReport.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/accounting/PaymentReport.groovy Sat Oct 15 12:11:11 2016
@@ -17,11 +17,6 @@
* under the License.
*/
-import org.apache.ofbiz.accounting.util.UtilAccounting
-import org.apache.ofbiz.base.util.*;
-import org.apache.ofbiz.entity.util.EntityUtil;
-import org.apache.ofbiz.entity.condition.EntityCondition;
-import org.apache.ofbiz.entity.condition.EntityOperator;
birtParameters = [:];
birtParameters.partyIdTo = request.getParameter("partyIdTo");
birtParameters.paymentId = request.getParameter("paymentId");
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/facility/InventoryItemReport.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/facility/InventoryItemReport.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/facility/InventoryItemReport.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/facility/InventoryItemReport.groovy Sat Oct 15 12:11:11 2016
@@ -17,12 +17,7 @@
* under the License.
*/
- import org.apache.ofbiz.accounting.util.UtilAccounting
- import org.apache.ofbiz.base.util.*;
- import org.apache.ofbiz.entity.util.EntityUtil;
- import org.apache.ofbiz.entity.condition.EntityCondition;
- import org.apache.ofbiz.entity.condition.EntityOperator;
- import com.ibm.icu.util.Calendar;
+ import org.apache.ofbiz.base.util.UtilDateTime;
birtParameters = [:];
/*
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/order/CheckReportBy.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/order/CheckReportBy.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/order/CheckReportBy.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/order/CheckReportBy.groovy Sat Oct 15 12:11:11 2016
@@ -17,7 +17,6 @@
* under the License.
*/
-import javax.servlet.http.HttpServletRequest;
import org.apache.ofbiz.base.util.UtilValidate;
reportBy = parameters.reportBy;
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/order/NetBeforeOverheadReport.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/order/NetBeforeOverheadReport.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/order/NetBeforeOverheadReport.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/order/NetBeforeOverheadReport.groovy Sat Oct 15 12:11:11 2016
@@ -16,10 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
-import org.apache.ofbiz.base.util.*;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilDatetime;
import java.sql.*;
-import java.sql.Timestamp;
-import com.ibm.icu.util.Calendar;
productStoreId = parameters.productStoreId;
DateTime = UtilDateTime.nowTimestamp();
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/order/OrderByChannel.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/order/OrderByChannel.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/order/OrderByChannel.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/order/OrderByChannel.groovy Sat Oct 15 12:11:11 2016
@@ -17,8 +17,6 @@
* under the License.
*/
-import org.apache.ofbiz.base.util.*;
-
birtParameters = [:];
if(request.getParameter("SalesChannel")){
birtParameters.saleChannel = request.getParameter("SalesChannel");
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/order/ProductDemandReport.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/order/ProductDemandReport.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/order/ProductDemandReport.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/order/ProductDemandReport.groovy Sat Oct 15 12:11:11 2016
@@ -16,7 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-import org.apache.ofbiz.base.util.*;
+import org.apache.ofbiz.base.util.Debug;
+import org.apache.ofbiz.base.util.UtilDateTime;
import java.sql.*;
import com.ibm.icu.util.Calendar;
Modified: ofbiz/trunk/specialpurpose/birt/groovyScripts/order/SalesReport.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/birt/groovyScripts/order/SalesReport.groovy?rev=1765042&r1=1765041&r2=1765042&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/birt/groovyScripts/order/SalesReport.groovy (original)
+++ ofbiz/trunk/specialpurpose/birt/groovyScripts/order/SalesReport.groovy Sat Oct 15 12:11:11 2016
@@ -16,9 +16,8 @@
* specific language governing permissions and limitations
* under the License.
*/
-import org.apache.ofbiz.base.util.*;
+import org.apache.ofbiz.base.util.Debug;
import java.sql.*;
-import java.util.Calendar;
fromDateStr = parameters.fromDate;
cal = Calendar.getInstance();