Author: deepak
Date: Sat Aug 26 19:50:12 2017 New Revision: 1806324 URL: http://svn.apache.org/viewvc?rev=1806324&view=rev Log: Scrum : Remove unused imports from groovy files for code optimization. Applied slightly modified patch from jira issue (OFBIZ-9511) Thanks Suraj Khurana and Pradeep Choudhary for your contribution Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddProductBacklogItem.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddResourceTaskParty.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/BacklogNotifications.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditDailyHourReport.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditWeekTimesheet.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindBacklogItem.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindProductBacklogItem.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindTaskList.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentProducts.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentSprints.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListRevision.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumPreferenceSecurityGroup.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumResource.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListTimeSheets.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListUnplanBacklog.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductBilling.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductEmail.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogListItems.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogOptions.groovy ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/TaskList.groovy Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddProductBacklogItem.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddProductBacklogItem.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddProductBacklogItem.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddProductBacklogItem.groovy Sat Aug 26 19:50:12 2017 @@ -17,14 +17,10 @@ * under the License. */ -import java.sql.* -import java.sql.Timestamp -import java.util.Calendar -import net.fortuna.ical4j.model.DateTime -import org.apache.ofbiz.base.util.* -import org.apache.ofbiz.entity.condition.* +import org.apache.ofbiz.base.util.UtilMisc +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator import org.apache.ofbiz.entity.GenericEntityException -import sun.util.calendar.LocalGregorianCalendar.Date def module = "AddProductBacklogItem.groovy" Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddResourceTaskParty.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddResourceTaskParty.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddResourceTaskParty.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/AddResourceTaskParty.groovy Sat Aug 26 19:50:12 2017 @@ -17,9 +17,6 @@ * under the License. */ -import java.util.* -import org.apache.ofbiz.base.util.Debug - partyId = parameters.partyId // get existing task that no assign projectSprintBacklogAndTaskList = [] Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/BacklogNotifications.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/BacklogNotifications.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/BacklogNotifications.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/BacklogNotifications.groovy Sat Aug 26 19:50:12 2017 @@ -17,8 +17,6 @@ * under the License. */ -import org.apache.ofbiz.base.util.* -import org.apache.ofbiz.entity.condition.* def module = "BacklogNotifications.groovy" Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditDailyHourReport.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditDailyHourReport.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditDailyHourReport.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditDailyHourReport.groovy Sat Aug 26 19:50:12 2017 @@ -19,16 +19,15 @@ import java.util.* import java.lang.* -import org.apache.ofbiz.base.util.* -import org.apache.ofbiz.entity.* -import org.apache.ofbiz.base.util.Debug import org.apache.ofbiz.base.util.UtilMisc -import org.apache.ofbiz.base.util.UtilValidate +import org.apache.ofbiz.base.util.UtilProperties import org.apache.ofbiz.base.util.UtilDateTime -import org.apache.ofbiz.entity.util.* -import org.apache.ofbiz.entity.condition.* +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.EntityFindOptions +import org.apache.ofbiz.entity.util.EntityUtil import org.apache.ofbiz.webapp.website.WebSiteWorker -import java.sql.Timestamp uiLabelMap = UtilProperties.getResourceBundleMap("scrumUiLabels", locale) partyId = parameters.partyId Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditWeekTimesheet.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditWeekTimesheet.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditWeekTimesheet.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/EditWeekTimesheet.groovy Sat Aug 26 19:50:12 2017 @@ -19,14 +19,12 @@ 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.UtilProperties 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.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("scrumUiLabels", locale) Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindBacklogItem.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindBacklogItem.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindBacklogItem.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindBacklogItem.groovy Sat Aug 26 19:50:12 2017 @@ -17,19 +17,11 @@ * 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.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator productId =parameters.productId -custRequestList=[] backlogList=[] custRequestList = from("CustRequestItem").where("productId", productId).queryList() custRequestList.each { custRequestListMap -> Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindProductBacklogItem.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindProductBacklogItem.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindProductBacklogItem.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindProductBacklogItem.groovy Sat Aug 26 19:50:12 2017 @@ -17,13 +17,11 @@ * under the License. */ -import java.sql.* import java.sql.Timestamp -import java.util.Calendar -import net.fortuna.ical4j.model.DateTime -import org.apache.ofbiz.base.util.* -import org.apache.ofbiz.entity.condition.* -import sun.util.calendar.LocalGregorianCalendar.Date +import org.apache.ofbiz.base.util.UtilMisc +import org.apache.ofbiz.base.util.UtilValidate +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator def module = "FindProductBacklogItem.groovy" Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindTaskList.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindTaskList.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindTaskList.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/FindTaskList.groovy Sat Aug 26 19:50:12 2017 @@ -17,17 +17,8 @@ * under the License. */ -import java.util.* -import java.lang.* -import org.apache.tools.ant.taskdefs.Parallel.TaskList -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.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator taskId = parameters.taskId taskName = parameters.taskName Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentProducts.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentProducts.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentProducts.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentProducts.groovy Sat Aug 26 19:50:12 2017 @@ -16,9 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -import org.apache.ofbiz.entity.condition.* -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.EntityJoinOperator +import org.apache.ofbiz.entity.condition.EntityOperator +import org.apache.ofbiz.base.util.Debug; +import org.apache.ofbiz.base.util.UtilValidate roleTypeId = null paramCond = [] Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentSprints.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentSprints.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentSprints.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListCurrentSprints.groovy Sat Aug 26 19:50:12 2017 @@ -17,8 +17,10 @@ * under the License. */ -import org.apache.ofbiz.entity.condition.* -import org.apache.ofbiz.base.util.* +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator +import org.apache.ofbiz.entity.condition.EntityJoinOperator +import org.apache.ofbiz.base.util.UtilMisc cond = EntityCondition.makeCondition([ EntityCondition.makeCondition ("projectTypeId", EntityOperator.EQUALS, "SCRUM_PROJECT"), Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListRevision.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListRevision.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListRevision.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListRevision.groovy Sat Aug 26 19:50:12 2017 @@ -17,10 +17,9 @@ * under the License. */ -import org.apache.ofbiz.base.util.UtilMisc -import org.apache.ofbiz.base.util.Debug -import org.apache.ofbiz.entity.util.* -import org.apache.ofbiz.entity.condition.* +import org.apache.ofbiz.entity.util.EntityUtil +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator custRequestList = [] custAndWorkEffortList = [] Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumPreferenceSecurityGroup.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumPreferenceSecurityGroup.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumPreferenceSecurityGroup.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumPreferenceSecurityGroup.groovy Sat Aug 26 19:50:12 2017 @@ -17,9 +17,6 @@ * under the License. */ -import org.apache.ofbiz.entity.condition.* -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 @@ -73,7 +70,7 @@ if (scrumUserLoginSecurityGroupList) { if (userPreferenceList) { userPreferenceList.each { userPreferenceMap -> userPreferenceOutList.add(userPreferenceMap) - } + }makeCondition } } context.userPreferenceList = userPreferenceOutList Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumResource.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumResource.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumResource.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumResource.groovy Sat Aug 26 19:50:12 2017 @@ -17,13 +17,8 @@ * 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.* -import org.apache.ofbiz.entity.condition.EntityFunction +import org.apache.ofbiz.entity.GenericEntityException +import org.apache.ofbiz.base.util.Debug def module = "ListScrumResource.groovy" Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListScrumRolesPersonAndCompany.groovy Sat Aug 26 19:50:12 2017 @@ -17,9 +17,9 @@ * under the License. */ -import org.apache.ofbiz.entity.condition.* -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 org.apache.ofbiz.entity.condition.EntityJoinOperator productId = parameters.productId personAndCompanyList = [] Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListTimeSheets.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListTimeSheets.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListTimeSheets.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListTimeSheets.groovy Sat Aug 26 19:50:12 2017 @@ -17,9 +17,10 @@ * under the License. */ -import org.apache.ofbiz.entity.* -import org.apache.ofbiz.entity.util.* -import org.apache.ofbiz.entity.condition.* +import org.apache.ofbiz.entity.GenericEntityException +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.util.EntityFindOptions +import org.apache.ofbiz.entity.condition.EntityOperator import org.apache.ofbiz.base.util.Debug import org.apache.ofbiz.base.util.UtilDateTime Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListUnplanBacklog.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListUnplanBacklog.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListUnplanBacklog.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ListUnplanBacklog.groovy Sat Aug 26 19:50:12 2017 @@ -17,8 +17,8 @@ * under the License. */ -import org.apache.ofbiz.entity.condition.* -import org.apache.ofbiz.base.util.* +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator taskStatusId = null paraBacklogStatusId = backlogStatusId Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductBilling.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductBilling.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductBilling.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductBilling.groovy Sat Aug 26 19:50:12 2017 @@ -19,11 +19,10 @@ */ import java.sql.Timestamp -import org.apache.ofbiz.base.util.* +import org.apache.ofbiz.base.util.UtilMisc import org.apache.ofbiz.base.util.UtilDateTime -import org.apache.ofbiz.entity.* -import org.apache.ofbiz.entity.condition.* -import org.apache.ofbiz.entity.util.* +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator productId = parameters.productId entryExprs = Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductEmail.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductEmail.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductEmail.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/ProductEmail.groovy Sat Aug 26 19:50:12 2017 @@ -17,13 +17,10 @@ * 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.Debug +import org.apache.ofbiz.base.util.UtilDateTime import org.apache.ofbiz.base.util.UtilValidate -import org.apache.ofbiz.entity.util.* +import org.apache.ofbiz.entity.GenericEntityException productId = parameters.productId loginPartyId = userLogin.partyId Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogListItems.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogListItems.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogListItems.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogListItems.groovy Sat Aug 26 19:50:12 2017 @@ -17,15 +17,14 @@ * under the License. */ -import org.apache.ofbiz.entity.condition.* -import org.apache.ofbiz.base.util.* +import org.apache.ofbiz.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator taskStatusId = null reopenedStatusId = null backlogStatusId = parameters.backlogStatusId paraBacklogStatusId = backlogStatusId currentStatus = sprintStatus.currentStatusId -projectSprintList = [] if ("SPRINT_CLOSED".equals(currentStatus)) { backlogStatusId = null Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogOptions.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogOptions.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogOptions.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/SprintBacklogOptions.groovy Sat Aug 26 19:50:12 2017 @@ -17,9 +17,6 @@ * under the License. */ -import org.apache.ofbiz.base.util.Debug - -custRequestWorkEffortList = [] sprintStatusId = "SPRINT_CLOSED" sprintId = null custRequestWorkEffortList = custRequestMap.getRelated("CustRequestWorkEffort", null, null, false) Modified: ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/TaskList.groovy URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/TaskList.groovy?rev=1806324&r1=1806323&r2=1806324&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/TaskList.groovy (original) +++ ofbiz/ofbiz-plugins/trunk/scrum/groovyScripts/TaskList.groovy Sat Aug 26 19:50:12 2017 @@ -17,21 +17,10 @@ * under the License. */ -import java.util.* -import java.lang.* -import org.apache.tools.ant.taskdefs.Parallel.TaskList -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.entity.condition.EntityCondition +import org.apache.ofbiz.entity.condition.EntityOperator partyId = userLogin.partyId -taskUnplanList = [] -taskPlanList = [] taskPartyList = [] taskListDropdown = [] |
Free forum by Nabble | Edit this page |