Improved: Removed unused imports from groovy files in projectmgr component.

(OFBIZ-8488)

Thanks: Gopal Yadav for contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1765059 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mridul Pathak
2016-10-15 13:26:58 +00:00
parent 76fcb2f49a
commit cde2fc9110
8 changed files with 22 additions and 41 deletions
@@ -17,16 +17,13 @@
* under the License.
*/
import java.util.*;
import java.lang.*;
import org.apache.ofbiz.base.util.*;
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.base.util.UtilMisc;
import org.apache.ofbiz.base.util.UtilValidate;
import org.apache.ofbiz.base.util.UtilDateTime;
import org.apache.ofbiz.entity.util.*;
import org.apache.ofbiz.entity.condition.*;
import java.sql.Timestamp;
import org.apache.ofbiz.base.util.UtilDateTime
import org.apache.ofbiz.base.util.UtilProperties
import org.apache.ofbiz.entity.condition.EntityComparisonOperator
import org.apache.ofbiz.entity.condition.EntityCondition
import org.apache.ofbiz.entity.condition.EntityOperator
import org.apache.ofbiz.entity.util.EntityUtil
uiLabelMap = UtilProperties.getResourceBundleMap("ProjectMgrUiLabels", locale);
@@ -17,16 +17,11 @@
* under the License.
*/
import java.util.*;
import java.lang.*;
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.base.util.*;
import org.apache.ofbiz.entity.util.*;
import org.apache.ofbiz.entity.condition.EntityCondition;
import org.apache.ofbiz.entity.condition.EntityConditionList;
import org.apache.ofbiz.entity.condition.EntityExpr;
import org.apache.ofbiz.entity.condition.EntityOperator;
import java.math.*;
import org.apache.ofbiz.base.util.UtilDateTime
import org.apache.ofbiz.base.util.UtilValidate
import org.apache.ofbiz.entity.condition.EntityCondition
import org.apache.ofbiz.entity.condition.EntityOperator
projectId = parameters.projectId;
userLogin = parameters.userLogin;
@@ -140,5 +135,6 @@ if (phases) {
}
}
}
context.phaseTaskList = ganttList;
@@ -18,8 +18,6 @@
* under the License.
*/
import org.apache.ofbiz.base.util.*;
// get last request from this user and use that project/task assignment as default on the screen
custRequestList = from("CustRequest").where("fromPartyId", fromPartyId).orderBy("-createdDate").queryList();
@@ -17,10 +17,7 @@
* under the License.
*/
import java.util.*;
import java.lang.*;
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.base.util.*;
import org.apache.ofbiz.base.util.UtilValidate;
if (parameters.workEffortId) {
workEffortId = parameters.workEffortId;
@@ -17,7 +17,10 @@
* under the License.
*/
import org.apache.ofbiz.entity.condition.*;
import org.apache.ofbiz.entity.condition.EntityCondition
import org.apache.ofbiz.entity.condition.EntityJoinOperator
import org.apache.ofbiz.entity.condition.EntityOperator
cond = EntityCondition.makeCondition([
EntityCondition.makeCondition ("workEffortTypeId", EntityOperator.EQUALS, "PROJECT"),
@@ -17,13 +17,6 @@
* under the License.
*/
import java.util.*;
import java.lang.*;
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.entity.condition.*;
import org.apache.ofbiz.entity.util.*;
import org.apache.ofbiz.base.util.*;
allProjects = select("workEffortId").from("WorkEffortAndPartyAssign").where("workEffortTypeId", "PROJECT", "partyId", parameters.partyId).orderBy("workEffortName").cache(true).queryList();
projects = [];
@@ -18,11 +18,10 @@
* under the License.
*/
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.base.util.*;
import org.apache.ofbiz.entity.*;
import org.apache.ofbiz.entity.condition.*;
import org.apache.ofbiz.entity.util.*;
import org.apache.ofbiz.base.util.UtilDateTime
import org.apache.ofbiz.entity.condition.EntityCondition
import org.apache.ofbiz.entity.condition.EntityOperator
projectId = parameters.projectId;
entryExprs =
@@ -17,8 +17,6 @@
* under the License.
*/
import org.apache.ofbiz.entity.util.EntityUtil;
projectMembers = from("WorkEffortPartyAssignment").where("workEffortId", context.projectId).filterByDate().queryList();
toPartyId = null;