svn commit: r1752891 - in /ofbiz/trunk/applications/workeffort/groovyScripts/workeffort: calendar/ content/ find/ request/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1752891 - in /ofbiz/trunk/applications/workeffort/groovyScripts/workeffort: calendar/ content/ find/ request/

Mridul Pathak-5
Author: mridulpathak
Date: Sat Jul 16 06:02:04 2016
New Revision: 1752891

URL: http://svn.apache.org/viewvc?rev=1752891&view=rev
Log:
[OFBIZ-7761] Workeffort: Remove unused imports from groovy files. Thanks Ankit Joshi for contribution.

Modified:
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/CreateUrlParam.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Days.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Month.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Upcoming.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Week.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/content/WorkEffortContentWrapper.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchResults.groovy
    ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/request/RequestList.groovy

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/CreateUrlParam.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/CreateUrlParam.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/CreateUrlParam.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/CreateUrlParam.groovy Sat Jul 16 06:02:04 2016
@@ -17,8 +17,7 @@
  * under the License.
  */
 
-import java.util.*;
-import org.ofbiz.base.util.*;
+import org.ofbiz.base.util.UtilMisc;
 
 // Allow containing screens to specify URL parameters to be included in calendar navigation links
 List urlParameterNames = context.urlParameterNames;

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Days.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Days.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Days.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Days.groovy Sat Jul 16 06:02:04 2016
@@ -17,9 +17,10 @@
  * under the License.
  */
 
-import java.util.*;
 import java.sql.Timestamp;
-import org.ofbiz.base.util.*;
+import org.ofbiz.base.util.UtilDateTime;
+import org.ofbiz.base.util.UtilMisc;
+import org.ofbiz.base.util.UtilValidate;
 
 String startParam = parameters.startTime;
 Timestamp start = null;

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Month.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Month.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Month.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Month.groovy Sat Jul 16 06:02:04 2016
@@ -17,9 +17,10 @@
  * under the License.
  */
 
-import java.sql.*;
-import java.util.*;
-import org.ofbiz.base.util.*;
+import java.sql.Timestamp;
+import org.ofbiz.base.util.UtilDateTime;
+import org.ofbiz.base.util.UtilMisc;
+import org.ofbiz.base.util.UtilValidate;
 
 String startParam = parameters.startTime;
 Timestamp start = null;

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Upcoming.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Upcoming.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Upcoming.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Upcoming.groovy Sat Jul 16 06:02:04 2016
@@ -17,8 +17,7 @@
  * under the License.
  */
 
-import java.util.*;
-import org.ofbiz.base.util.*;
+import org.ofbiz.base.util.UtilMisc;
 
 facilityId = parameters.get("facilityId");
 fixedAssetId = parameters.get("fixedAssetId");

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Week.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Week.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Week.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/calendar/Week.groovy Sat Jul 16 06:02:04 2016
@@ -17,9 +17,10 @@
  * under the License.
  */
 
-import java.util.*;
 import java.sql.Timestamp;
-import org.ofbiz.base.util.*;
+import org.ofbiz.base.util.UtilDateTime;
+import org.ofbiz.base.util.UtilMisc;
+import org.ofbiz.base.util.UtilValidate;
 
 String startParam = parameters.startTime;
 Timestamp start = null;

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/content/WorkEffortContentWrapper.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/content/WorkEffortContentWrapper.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/content/WorkEffortContentWrapper.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/content/WorkEffortContentWrapper.groovy Sat Jul 16 06:02:04 2016
@@ -17,10 +17,7 @@
  * under the License.
  */
 
- import org.ofbiz.workeffort.content.*;
- import org.ofbiz.base.util.*;
- import org.ofbiz.entity.*;
- import java.util.*;
+ import org.ofbiz.workeffort.content.WorkEffortContentWrapper;
 
  workEffort = context.get("workEffort");
  if (workEffort == null && workEffortId != null) {

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchOptions.groovy Sat Jul 16 06:02:04 2016
@@ -17,9 +17,8 @@
  * under the License.
  */
 
-import org.ofbiz.base.util.*;
 import java.sql.Timestamp;
-import org.ofbiz.workeffort.workeffort.*;
+import org.ofbiz.workeffort.workeffort.WorkEffortSearchSession;
 
 searchOperator = parameters.get("SEARCH_OPERATOR");
 if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchResults.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchResults.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchResults.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/find/WorkEffortSearchResults.groovy Sat Jul 16 06:02:04 2016
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-import org.ofbiz.base.util.*;
-import org.ofbiz.workeffort.workeffort.*;
+import org.ofbiz.workeffort.workeffort.WorkEffortSearchEvents;
+import org.ofbiz.workeffort.workeffort.WorkEffortSearchSession;
 
 // note: this can be run multiple times in the same request without causing problems, will check to see on its own if it has run again
 WorkEffortSearchSession.processSearchParameters(parameters, request);

Modified: ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/request/RequestList.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/request/RequestList.groovy?rev=1752891&r1=1752890&r2=1752891&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/request/RequestList.groovy (original)
+++ ofbiz/trunk/applications/workeffort/groovyScripts/workeffort/request/RequestList.groovy Sat Jul 16 06:02:04 2016
@@ -17,8 +17,6 @@
  * under the License.
  */
 
-import org.ofbiz.base.util.UtilMisc;
-
 Map requests = runService('getCustRequestsByRole', ["userLogin": userLogin]);
 
 context.put("custRequestAndRoles", requests.get("custRequestAndRoles"));