CodeNarc Report

Report title:
Date:Oct 29, 2024, 11:16:25 AM
Generated with:CodeNarc v3.4.0

Summary

Total FilesFiles with ViolationsPriority 1Priority 2Priority 3
590152-4103970

Violations

FileRule NamePriorityLine #Source Line / Message
AddProductBacklogItem.groovyExplicitCallToEqualsMethod232

[SRC]}else if("Any".equals(parameters.statusId)){

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Any.equals(parameters.statusId) method can be rewritten as (Any == (parameters.statusId))

AddProductBacklogItem.groovyLineLength237

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The line exceeds 150 characters. The line is 157 characters.

AddProductBacklogItem.groovyExplicitCallToEqualsMethod280

[SRC]if ("N".equals(parameters.sequence)) { // re-order category list item

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.sequence) method can be rewritten as (N == (parameters.sequence))

AddProductBacklogItem.groovyExplicitCallToEqualsMethod284

[SRC]if("".equals(parameters.statusId)){

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to .equals(parameters.statusId) method can be rewritten as ( == (parameters.statusId))

AddProductBacklogItem.groovyLineLength2109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The line exceeds 150 characters. The line is 258 characters.

AddProductBacklogItem.groovyExplicitCallToEqualsMethod2137

[SRC]if ("N".equals(parameters.UnplannedSequence)) { // re-or..ry list item

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.UnplannedSequence) method can be rewritten as (N == (parameters.UnplannedSequence))

AddResourceTaskParty.groovyLineLength224

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The line exceeds 150 characters. The line is 166 characters.

AddResourceTaskParty.groovyExplicitCallToEqualsMethod247

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (custRequestTypeId))

AddResourceTaskParty.groovyExplicitCallToEqualsMethod247

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(backlogStatusId) method can be rewritten as (CRQ_REVIEWED == (backlogStatusId))

AdvancedSearchPrep.groovyExplicitCallToEqualsMethod230

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to AND.equals(searchOperator) method can be rewritten as (AND == (searchOperator))

AdvancedSearchPrep.groovyExplicitCallToEqualsMethod230

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to OR.equals(searchOperator) method can be rewritten as (OR == (searchOperator))

AdvancedSearchPrep.groovyExplicitCallToEqualsMethod228

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to AND.equals(searchOperator) method can be rewritten as (AND == (searchOperator))

AdvancedSearchPrep.groovyExplicitCallToEqualsMethod228

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to OR.equals(searchOperator) method can be rewritten as (OR == (searchOperator))

BacklogNotifications.groovyUnusedVariable222

[SRC]def module = "BacklogNotifications.groovy"

[MSG]The variable [module] in class org.apache.ofbiz.scrum.None is not used

BacklogNotifications.groovyLineLength233

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The line exceeds 150 characters. The line is 175 characters.

BacklogNotifications.groovyExplicitCallToEqualsMethod253

[SRC]if ("CRQ_ACCEPTED".equals(custRequest.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_ACCEPTED.equals(custRequest.statusId) method can be rewritten as (CRQ_ACCEPTED == (custRequest.statusId))

BacklogNotifications.groovyExplicitCallToEqualsMethod255

[SRC]if (custStatusList.size() > 2 && "CRQ_REVIEWED".equals(c..statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(custStatusList[1].statusId) method can be rewritten as (CRQ_REVIEWED == (custStatusList[1].statusId))

BillSettings.groovyExplicitCallToEqualsMethod243

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId))

BillSettings.groovyLineLength266

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The line exceeds 150 characters. The line is 172 characters.

BillSettings.groovyExplicitCallToEqualsMethod280

[SRC]if ("CREDIT_CARD".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod.paymentMethodTypeId))

BillSettings.groovyExplicitCallToEqualsMethod284

[SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to EFT_ACCOUNT.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (EFT_ACCOUNT == (paymentMethod.paymentMethodTypeId))

BillSettings.groovyExplicitCallToEqualsMethod288

[SRC]} else if ("GIFT_CARD".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethod.paymentMethodTypeId))

ChangePassword.groovyIfStatementBraces233

[SRC]if (!tryEntity) userLoginData = UtilHttp.getParameterMap(request)

[MSG]The if statement lacks braces

ChangePassword.groovyIfStatementBraces234

[SRC]if (!userLoginData) userLoginData = [:]

[MSG]The if statement lacks braces

CheckoutReview.groovyExplicitCallToEqualsMethod242

[SRC]if ("OrderAdjustment".equals(valueObj.getEntityName())) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to OrderAdjustment.equals(valueObj.getEntityName()) method can be rewritten as (OrderAdjustment == (valueObj.getEntityName()))

CheckoutReview.groovyExplicitCallToEqualsMethod277

[SRC]isDemoStore = !"N".equals(productStore.isDemoStore)

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to N.equals(productStore.isDemoStore) method can be rewritten as (N == (productStore.isDemoStore))

CheckoutReview.groovyIfStatementBraces282

[SRC]if (paymentAddress) context.paymentAddress = paymentAddress

[MSG]The if statement lacks braces

CheckoutReview.groovyIfStatementBraces2101

[SRC]if (shipmentMethodType) context.shipMethDescription = sh...description

[MSG]The if statement lacks braces

CommonServicesScript.groovyAssignmentInConditional2355

[SRC]while (party = parties.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

ContactList.groovyLineLength257

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The line exceeds 150 characters. The line is 169 characters.

ContentPrep.groovyIfStatementBraces248

[SRC]if (!contentId)

[MSG]The if statement lacks braces

ContentPrep.groovyIfStatementBraces250

[SRC]if (!contentId)

[MSG]The if statement lacks braces

ContentServicesScript.groovyAssignmentInConditional2154

[SRC]while (content = contents.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

CurrentValPrep.groovyEmptyIfStatement2100

[SRC]if (!sPassed.equals(sCached)) {

[MSG]The if statement is empty

CurrentValPrep.groovyExplicitCallToEqualsMethod2100

[SRC]if (!sPassed.equals(sCached)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to sPassed.equals(sCached) method can be rewritten as (sPassed == (sCached))

CurrentValPrep.groovyIfStatementBraces2131

[SRC]if (s) suffix = "_" + s

[MSG]The if statement lacks braces

CurrentValPrep.groovyExplicitCallToEqualsMethod2133

[SRC]if ("_ELECTRONIC_TEXT".equals(suffix)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to _ELECTRONIC_TEXT.equals(suffix) method can be rewritten as (_ELECTRONIC_TEXT == (suffix))

CurrentValPrep.groovyIfStatementBraces2135

[SRC]if (s) suffix += "_" + s

[MSG]The if statement lacks braces

CustSettings.groovyLineLength237

[SRC]// NOTE: if there was an error, then don't look up and f..tomagically)

[MSG]The line exceeds 150 characters. The line is 182 characters.

CustSettings.groovyLineLength272

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The line exceeds 150 characters. The line is 168 characters.

CustSettings.groovyLineLength280

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The line exceeds 150 characters. The line is 169 characters.

CustSettings.groovyLineLength290

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The line exceeds 150 characters. The line is 169 characters.

CustomerAddress.groovyExplicitCallToEqualsMethod234

[SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.search.None. Explicit call to POSTAL_ADDRESS.equals(contactMech.contactMechTypeId) method can be rewritten as (POSTAL_ADDRESS == (contactMech.contactMechTypeId))

CustomerAddress.groovyExplicitCallToEqualsMethod245

[SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.search.None. Explicit call to POSTAL_ADDRESS.equals(contactMech.contactMechTypeId) method can be rewritten as (POSTAL_ADDRESS == (contactMech.contactMechTypeId))

DimensionServices.groovyAssignmentInConditional256

[SRC]while (iterator = listIterator.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

DimensionServices.groovyAssignmentInConditional272

[SRC]while (iterator = listIterator.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

DimensionServices.groovyAssignmentInConditional283

[SRC]while (iterator = listIterator.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

EcommerceSetup.groovyIfStatementBraces235

[SRC]if (catalogStyleSheet) globalContext.catalogStyleSheet =..ogStyleSheet

[MSG]The if statement lacks braces

EcommerceSetup.groovyIfStatementBraces237

[SRC]if (catalogHeaderLogo) globalContext.catalogHeaderLogo =..ogHeaderLogo

[MSG]The if statement lacks braces

EditAddPrep.groovyExplicitCallToEqualsMethod253

[SRC]if ("SUMMARY".equals(mapKey)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to SUMMARY.equals(mapKey) method can be rewritten as (SUMMARY == (mapKey))

EditAddPrep.groovyExplicitCallToEqualsMethod273

[SRC]if ("SUMMARY".equals(mapKey)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to SUMMARY.equals(mapKey) method can be rewritten as (SUMMARY == (mapKey))

EditBillingAddress.groovyLineLength250

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The line exceeds 150 characters. The line is 163 characters.

EditBillingAddress.groovyExplicitCallToEqualsMethod263

[SRC]if (billToContactMechId && billToContactMechId.equals(sh..ctMechId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to billToContactMechId.equals(shipToContactMechId) method can be rewritten as (billToContactMechId == (shipToContactMechId))

EditContactMech.groovyIfStatementBraces242

[SRC]if (preContactMechTypeId) context.preContactMechTypeId =..ctMechTypeId

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces245

[SRC]if (paymentMethodId) context.paymentMethodId = paymentMethodId

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces261

[SRC]if (!tryEntity) contactMechData = parameters

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces262

[SRC]if (!contactMechData) contactMechData = [:]

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces263

[SRC]if (contactMechData) context.contactMechData = contactMechData

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces266

[SRC]if (!tryEntity) partyContactMechData = parameters

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces267

[SRC]if (!partyContactMechData) partyContactMechData = [:]

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces268

[SRC]if (partyContactMechData) context.partyContactMechData =..tactMechData

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces271

[SRC]if (!tryEntity) postalAddressData = parameters

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces272

[SRC]if (!postalAddressData) postalAddressData = [:]

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces273

[SRC]if (postalAddressData) context.postalAddressData = postalAddressData

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces276

[SRC]if (!tryEntity) telecomNumberData = parameters

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces277

[SRC]if (!telecomNumberData) telecomNumberData = [:]

[MSG]The if statement lacks braces

EditContactMech.groovyIfStatementBraces278

[SRC]if (telecomNumberData) context.telecomNumberData = telecomNumberData

[MSG]The if statement lacks braces

EditDailyHourReport.groovyIfStatementBraces263

[SRC]if (!timesheet) return

[MSG]The if statement lacks braces

EditDailyHourReport.groovyIfStatementBraces2105

[SRC]if (estimatedMilliSeconds > 0)

[MSG]The if statement lacks braces

EditDailyHourReport.groovyLineLength2111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The line exceeds 150 characters. The line is 155 characters.

EditDailyHourReport.groovyIfStatementBraces2112

[SRC]if (lastTimeEntryOfTasks.size() != 0) lastTimeEntry = la..ryOfTasks[0]

[MSG]The if statement lacks braces

EditDailyHourReport.groovyLineLength2126

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The line exceeds 150 characters. The line is 153 characters.

EditDailyHourReport.groovyExplicitCallToEqualsMethod2131

[SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (SCAS_COMPLETED == (workEffortPartyAssign.statusId))

EditDailyHourReport.groovyExplicitCallToEqualsMethod2136

[SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to STS_COMPLETED.equals(entryWorkEffort.currentStatusId) method can be rewritten as (STS_COMPLETED == (entryWorkEffort.currentStatusId))

EditDailyHourReport.groovyIfStatementBraces2156

[SRC]if (aHours > 0.00)

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2177

[SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) ||

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId))

EditDailyHourReport.groovyExplicitCallToEqualsMethod2178

[SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId))

EditDailyHourReport.groovyIfStatementBraces2185

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2185

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2186

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2186

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2187

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2187

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2188

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2188

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2189

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2189

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2190

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2190

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2191

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2191

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2198

[SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2198

[SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd0.equals(dayNumber) method can be rewritten as (pd0 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2199

[SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2199

[SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd1.equals(dayNumber) method can be rewritten as (pd1 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2200

[SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2200

[SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd2.equals(dayNumber) method can be rewritten as (pd2 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2201

[SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2201

[SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd3.equals(dayNumber) method can be rewritten as (pd3 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2202

[SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2202

[SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd4.equals(dayNumber) method can be rewritten as (pd4 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2203

[SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2203

[SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd5.equals(dayNumber) method can be rewritten as (pd5 == (dayNumber))

EditDailyHourReport.groovyIfStatementBraces2204

[SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2204

[SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd6.equals(dayNumber) method can be rewritten as (pd6 == (dayNumber))

EditDailyHourReport.groovyLineLength2215

[SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 179 characters.

EditDailyHourReport.groovyAssignmentInConditional2247

[SRC]while ((emplLeaveMap = emplLeave.next())) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

EditDailyHourReport.groovyExplicitCallToEqualsMethod2255

[SRC]!lastEmplLeaveEntry.leaveTypeId.equals(emplLeaveEntry.leaveTypeId) ||

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastEmplLeaveEntry.leaveTypeId.equals(emplLeaveEntry.leaveTypeId) method can be rewritten as (lastEmplLeaveEntry.leaveTypeId == (emplLeaveEntry.leaveTypeId))

EditDailyHourReport.groovyExplicitCallToEqualsMethod2256

[SRC]!lastEmplLeaveEntry.partyId.equals(emplLeaveEntry.partyId))) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastEmplLeaveEntry.partyId.equals(emplLeaveEntry.partyId) method can be rewritten as (lastEmplLeaveEntry.partyId == (emplLeaveEntry.partyId))

EditDailyHourReport.groovyLineLength2260

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 159 characters.

EditDailyHourReport.groovyLineLength2265

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 163 characters.

EditDailyHourReport.groovyIfStatementBraces2268

[SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2268

[SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(leaveDayNumber) method can be rewritten as (d0 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2269

[SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2269

[SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(leaveDayNumber) method can be rewritten as (d1 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2270

[SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2270

[SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(leaveDayNumber) method can be rewritten as (d2 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2271

[SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2271

[SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(leaveDayNumber) method can be rewritten as (d3 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2272

[SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2272

[SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(leaveDayNumber) method can be rewritten as (d4 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2273

[SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2273

[SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(leaveDayNumber) method can be rewritten as (d5 == (leaveDayNumber))

EditDailyHourReport.groovyIfStatementBraces2274

[SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2274

[SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(leaveDayNumber) method can be rewritten as (d6 == (leaveDayNumber))

EditDailyHourReport.groovyLineLength2280

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 163 characters.

EditDailyHourReport.groovyIfStatementBraces2283

[SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2283

[SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd0.equals(leavePlanDay) method can be rewritten as (pd0 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2284

[SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2284

[SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd1.equals(leavePlanDay) method can be rewritten as (pd1 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2285

[SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2285

[SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd2.equals(leavePlanDay) method can be rewritten as (pd2 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2286

[SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2286

[SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd3.equals(leavePlanDay) method can be rewritten as (pd3 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2287

[SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2287

[SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd4.equals(leavePlanDay) method can be rewritten as (pd4 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2288

[SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2288

[SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd5.equals(leavePlanDay) method can be rewritten as (pd5 == (leavePlanDay))

EditDailyHourReport.groovyIfStatementBraces2289

[SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours

[MSG]The if statement lacks braces

EditDailyHourReport.groovyExplicitCallToEqualsMethod2289

[SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd6.equals(leavePlanDay) method can be rewritten as (pd6 == (leavePlanDay))

EditDailyHourReport.groovyExplicitCallToEqualsMethod2306

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId))

EditDailyHourReport.groovyExplicitLinkedListInstantiation2337

[SRC]timesheets = new LinkedList()

[MSG]LinkedList objects are better instantiated using the form "[] as Queue"

EditDailyHourReport.groovyAssignmentInConditional2348

[SRC]while ((emplLeaveMap = emplLeaveList.next())) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

EditDailyHourReport.groovyLineLength2351

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 163 characters.

EditDailyHourReport.groovyLineLength2378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The line exceeds 150 characters. The line is 199 characters.

EditDailyHourReport.groovyExplicitCallToEqualsMethod2396

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (custRequestTypeId))

EditDailyHourReport.groovyExplicitCallToEqualsMethod2396

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(backlogStatusId) method can be rewritten as (CRQ_REVIEWED == (backlogStatusId))

EditDailyHourReport.groovyLineLength2409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The line exceeds 150 characters. The line is 160 characters.

EditDailyHourReport.groovyExplicitCallToEqualsMethod2418

[SRC]if (productId.equals(productOut)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to productId.equals(productOut) method can be rewritten as (productId == (productOut))

EditDailyHourReport.groovyLineLength2421

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The line exceeds 150 characters. The line is 156 characters.

EditEmailAndTelecomNumber.groovyLineLength235

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The line exceeds 150 characters. The line is 155 characters.

EditPaymentMethod.groovyIfStatementBraces241

[SRC]if (!tryEntity) creditCardData = parameters

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces242

[SRC]if (!creditCardData) creditCardData = [:]

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces243

[SRC]if (creditCardData) context.creditCardData = creditCardData

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces246

[SRC]if (!tryEntity) giftCardData = parameters

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces247

[SRC]if (!giftCardData) giftCardData = [:]

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces248

[SRC]if (giftCardData) context.giftCardData = giftCardData

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces251

[SRC]if (!tryEntity) eftAccountData = parameters

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces252

[SRC]if (!eftAccountData) eftAccountData = [:]

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces253

[SRC]if (eftAccountData) context.eftAccountData = eftAccountData

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces256

[SRC]if (!tryEntity) paymentMethodData = parameters

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces257

[SRC]if (!paymentMethodData) paymentMethodData = [:]

[MSG]The if statement lacks braces

EditPaymentMethod.groovyIfStatementBraces258

[SRC]if (paymentMethodData) context.paymentMethodData = paymentMethodData

[MSG]The if statement lacks braces

EditPaymentMethod.groovyLineLength261

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) {

[MSG]The line exceeds 150 characters. The line is 217 characters.

EditPaymentMethod.groovyExplicitCallToEqualsMethod261

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to userLogin.partyId.equals(context.paymentMethod.partyId) method can be rewritten as (userLogin.partyId == (context.paymentMethod.partyId))

EditPerson.groovyIfStatementBraces230

[SRC]if (!tryEntity) personData = UtilHttp.getParameterMap(request)

[MSG]The if statement lacks braces

EditPerson.groovyIfStatementBraces231

[SRC]if (!personData) personData = [:]

[MSG]The if statement lacks braces

EditShippingAddress.groovyExplicitCallToEqualsMethod227

[SRC]if ("PERSON".equals(party.partyTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to PERSON.equals(party.partyTypeId) method can be rewritten as (PERSON == (party.partyTypeId))

EditShoppingList.groovyBracesForIfElse236

[SRC]if (userLogin)

[MSG]Opening brace should be on the same line as 'if'

EditShoppingList.groovyLineLength297

[SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin,

[MSG]The line exceeds 150 characters. The line is 181 characters.

EditShoppingList.groovyExplicitCallToEqualsMethod2102

[SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to ASSET_USAGE.equals(product.productTypeId) method can be rewritten as (ASSET_USAGE == (product.productTypeId))

EditShoppingList.groovyExplicitCallToEqualsMethod2102

[SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to ASSET_USAGE_OUT_IN.equals(product.productTypeId) method can be rewritten as (ASSET_USAGE_OUT_IN == (product.productTypeId))

EditShoppingList.groovyExplicitCallToEqualsMethod2132

[SRC]if ("Y".equals(product.isVirtual)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to Y.equals(product.isVirtual) method can be rewritten as (Y == (product.isVirtual))

EditShoppingList.groovyLineLength2165

[SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList()

[MSG]The line exceeds 150 characters. The line is 169 characters.

EditShoppingList.groovyLineLength2172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The line exceeds 150 characters. The line is 254 characters.

EditShoppingList.groovyExplicitCallToEqualsMethod2190

[SRC]context.canView = userLogin.partyId.equals(shoppingList.partyId)

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to userLogin.partyId.equals(shoppingList.partyId) method can be rewritten as (userLogin.partyId == (shoppingList.partyId))

EditShoppingList.groovyExplicitCallToEqualsMethod2193

[SRC]if ("SLT_AUTO_REODR".equals(shoppingListType?.shoppingListTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to SLT_AUTO_REODR.equals(shoppingListType?.shoppingListTypeId) method can be rewritten as (SLT_AUTO_REODR == (shoppingListType?.shoppingListTypeId))

EditShoppingList.groovyExplicitCallToEqualsMethod2197

[SRC]if (userLogin.partyId.equals(shoppingList.partyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to userLogin.partyId.equals(shoppingList.partyId) method can be rewritten as (userLogin.partyId == (shoppingList.partyId))

EditWeekTimesheet.groovyIfStatementBraces261

[SRC]if (!timesheet) return

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyLineLength2103

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The line exceeds 150 characters. The line is 153 characters.

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2108

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to PAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (PAS_COMPLETED == (workEffortPartyAssign.statusId))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2142

[SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) ||

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2143

[SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId))

EditWeekTimesheet.groovyIfStatementBraces2150

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2150

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2151

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2151

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2152

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2152

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2153

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2153

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2154

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2154

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2155

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2155

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2156

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2156

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2168

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId))

EditWeekTimesheet.groovyExplicitLinkedListInstantiation2192

[SRC]timesheets = new LinkedList()

[MSG]LinkedList objects are better instantiated using the form "[] as Queue"

EditWeekTimesheet.groovyIfStatementBraces260

[SRC]if (!timesheet) return

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyLineLength2102

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The line exceeds 150 characters. The line is 153 characters.

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2107

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to PAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (PAS_COMPLETED == (workEffortPartyAssign.statusId))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2141

[SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) ||

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2142

[SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId))

EditWeekTimesheet.groovyIfStatementBraces2149

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2149

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2150

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2150

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2151

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2151

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2152

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2152

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2153

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2153

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2154

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2154

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber))

EditWeekTimesheet.groovyIfStatementBraces2155

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The if statement lacks braces

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2155

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber))

EditWeekTimesheet.groovyExplicitCallToEqualsMethod2167

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId))

EditWeekTimesheet.groovyExplicitLinkedListInstantiation2191

[SRC]timesheets = new LinkedList()

[MSG]LinkedList objects are better instantiated using the form "[] as Queue"

FindBacklogItem.groovyLineLength242

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The line exceeds 150 characters. The line is 157 characters.

FindProductBacklogItem.groovyUnusedVariable227

[SRC]def module = "FindProductBacklogItem.groovy"

[MSG]The variable [module] in class org.apache.ofbiz.scrum.None is not used

FindProductBacklogItem.groovyExplicitCallToEqualsMethod237

[SRC]if ("Y".equals(parameters.noConditionFind)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Y.equals(parameters.noConditionFind) method can be rewritten as (Y == (parameters.noConditionFind))

FindProductBacklogItem.groovyLineLength299

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The line exceeds 150 characters. The line is 231 characters.

FindProductBacklogItem.groovyExplicitCallToEqualsMethod2133

[SRC]if ("N".equals(parameters.sequence)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.sequence) method can be rewritten as (N == (parameters.sequence))

GetThirdPartyLogins.groovyUnusedVariable224

[SRC]final String module = "GetThirdPartyLogins.groovy"

[MSG]The variable [module] in class org.apache.ofbiz.passport.login.None is not used

GetThirdPartyLogins.groovyLineLength245

[SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst();

[MSG]The line exceeds 150 characters. The line is 173 characters.

HtmlAreaPrep.groovyExplicitCallToEqualsMethod239

[SRC]if (!contentIdTo || !"TEMPLATE_MASTER".equals(contentIdTo)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to TEMPLATE_MASTER.equals(contentIdTo) method can be rewritten as (TEMPLATE_MASTER == (contentIdTo))

ImageManagementServicesScript.groovyLineLength2258

[SRC]ScriptUtil.executeScript('component://product/src/main/g..ll, context)

[MSG]The line exceeds 150 characters. The line is 158 characters.

IndexProducts.groovyAssignmentInConditional234

[SRC]while (product = products.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

IndexProducts.groovyEmptyCatchBlock245

[SRC]} catch (Exception exc) {}

[MSG]The catch block is empty

LayeredNavigation.groovyExplicitCallToEqualsMethod247

[SRC]if (!parameters.clearSearch || !"N".equals(parameters.clearSearch)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to N.equals(parameters.clearSearch) method can be rewritten as (N == (parameters.clearSearch))

LayeredNavigation.groovyLineLength281

[SRC]thisSubCategoryList.add([productCategoryId: subCategory...entWrapper])

[MSG]The line exceeds 150 characters. The line is 200 characters.

LayeredNavigation.groovyLineLength2111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The line exceeds 150 characters. The line is 276 characters.

LayeredNavigation.groovyLineLength2115

[SRC]priceRangeConstraint = new ProductSearch.ListPriceRangeC..om(request))

[MSG]The line exceeds 150 characters. The line is 168 characters.

LayeredNavigation.groovyLineLength2119

[SRC]priceRangeCount = ProductSearchSession.getCountForListPr.., delegator)

[MSG]The line exceeds 150 characters. The line is 157 characters.

ListCurrentProducts.groovyExplicitCallToEqualsMethod232

[SRC]if ("Any".equals(statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Any.equals(statusId) method can be rewritten as (Any == (statusId))

ListCurrentProducts.groovyExplicitCallToEqualsMethod254

[SRC]if ("PRODUCT_ACTIVE".equals(statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to PRODUCT_ACTIVE.equals(statusId) method can be rewritten as (PRODUCT_ACTIVE == (statusId))

ListCurrentProducts.groovyExplicitCallToEqualsMethod288

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId))

ListCurrentProducts.groovyLineLength289

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The line exceeds 150 characters. The line is 158 characters.

ListCurrentProducts.groovyExplicitCallToEqualsMethod293

[SRC]if (productIdInner.equals(product.productId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to productIdInner.equals(product.productId) method can be rewritten as (productIdInner == (product.productId))

ListCurrentProducts.groovyExplicitCallToEqualsMethod298

[SRC]} else if ("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId))

ListCurrentProducts.groovyLineLength2107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The line exceeds 150 characters. The line is 187 characters.

ListCurrentProducts.groovyExplicitCallToEqualsMethod2111

[SRC]if (stakeholderProduct.equals(product.productId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(product.productId) method can be rewritten as (stakeholderProduct == (product.productId))

ListCurrentProducts.groovyLineLength2118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The line exceeds 150 characters. The line is 235 characters.

ListCurrentProducts.groovyExplicitCallToEqualsMethod2123

[SRC]} else if ("SCRUM_MASTER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId))

ListCurrentProducts.groovyLineLength2126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The line exceeds 150 characters. The line is 229 characters.

ListCurrentProducts.groovyLineLength2133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The line exceeds 150 characters. The line is 183 characters.

ListCurrentProducts.groovyLineLength2136

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The line exceeds 150 characters. The line is 176 characters.

ListCurrentProducts.groovyLineLength2147

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The line exceeds 150 characters. The line is 160 characters.

ListCurrentProducts.groovyParameterName2148

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentProducts.groovyLineLength2150

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 167 characters.

ListCurrentProducts.groovyLineLength2159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The line exceeds 150 characters. The line is 179 characters.

ListCurrentProducts.groovyLineLength2163

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The line exceeds 150 characters. The line is 160 characters.

ListCurrentProducts.groovyParameterName2164

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentProducts.groovyLineLength2166

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 167 characters.

ListCurrentProducts.groovyLineLength2184

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 171 characters.

ListCurrentProducts.groovyIfStatementBraces2198

[SRC]if(addAllProducts)

[MSG]The if statement lacks braces

ListCurrentProjects.groovyLineLength236

[SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The line exceeds 150 characters. The line is 153 characters.

ListCurrentProjects.groovyLineLength238

[SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) {

[MSG]The line exceeds 150 characters. The line is 169 characters.

ListCurrentSprints.groovyLineLength238

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList()

[MSG]The line exceeds 150 characters. The line is 157 characters.

ListCurrentSprints.groovyIfStatementBraces257

[SRC]if (product != null) productName = product.internalName

[MSG]The if statement lacks braces

ListCurrentSprints.groovyExplicitCallToEqualsMethod266

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId))

ListCurrentSprints.groovyLineLength267

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The line exceeds 150 characters. The line is 177 characters.

ListCurrentSprints.groovyExplicitCallToGetAtMethod267

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to partyAndSecurityGroupList.getAt(0) method can be rewritten as partyAndSecurityGroupList[(0)]

ListCurrentSprints.groovyExplicitCallToEqualsMethod271

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId))

ListCurrentSprints.groovyLineLength280

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The line exceeds 150 characters. The line is 182 characters.

ListCurrentSprints.groovyExplicitCallToEqualsMethod284

[SRC]if (stakeholderProduct.equals(sprint.productId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(sprint.productId) method can be rewritten as (stakeholderProduct == (sprint.productId))

ListCurrentSprints.groovyExplicitCallToEqualsMethod299

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId))

ListCurrentSprints.groovyLineLength2112

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The line exceeds 150 characters. The line is 159 characters.

ListCurrentSprints.groovyParameterName2121

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentSprints.groovyLineLength2123

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 158 characters.

ListCurrentSprints.groovyParameterName2132

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentSprints.groovyLineLength2134

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 154 characters.

ListCurrentSprints.groovyLineLength2143

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The line exceeds 150 characters. The line is 153 characters.

ListCurrentSprints.groovyExplicitCallToEqualsMethod2153

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId))

ListCurrentSprints.groovyLineLength2154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The line exceeds 150 characters. The line is 181 characters.

ListCurrentSprints.groovyExplicitCallToGetAtMethod2154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to partyAndSecurityGroupList.getAt(0) method can be rewritten as partyAndSecurityGroupList[(0)]

ListCurrentSprints.groovyExplicitCallToEqualsMethod2158

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId))

ListCurrentSprints.groovyLineLength2167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The line exceeds 150 characters. The line is 190 characters.

ListCurrentSprints.groovyExplicitCallToEqualsMethod2171

[SRC]if (stakeholderProduct.equals(sprint.productId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(sprint.productId) method can be rewritten as (stakeholderProduct == (sprint.productId))

ListCurrentSprints.groovyLineLength2178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The line exceeds 150 characters. The line is 237 characters.

ListCurrentSprints.groovyExplicitCallToEqualsMethod2183

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId))

ListCurrentSprints.groovyLineLength2186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The line exceeds 150 characters. The line is 231 characters.

ListCurrentSprints.groovyLineLength2192

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The line exceeds 150 characters. The line is 167 characters.

ListCurrentSprints.groovyParameterName2201

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentSprints.groovyLineLength2203

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 166 characters.

ListCurrentSprints.groovyParameterName2212

[SRC]allSprintList.each { SprintListMap ->

[MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]*

ListCurrentSprints.groovyLineLength2214

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The line exceeds 150 characters. The line is 158 characters.

ListCurrentSprints.groovyLineLength2223

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The line exceeds 150 characters. The line is 157 characters.

ListResourceBillingHours.groovyLineLength221

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The line exceeds 150 characters. The line is 187 characters.

ListScrumResource.groovyExplicitCallToEqualsMethod252

[SRC]if (!"N".equals(result.enabled)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(result.enabled) method can be rewritten as (N == (result.enabled))

ListTimeSheets.groovyAssignmentInConditional261

[SRC]while ((emplLeaveMap = emplLeaveList.next())) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

ListTimeSheets.groovyLineLength264

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The line exceeds 150 characters. The line is 167 characters.

ListUnplanBacklog.groovyLineLength246

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The line exceeds 150 characters. The line is 159 characters.

MiniProductSummary.groovyIfStatementBraces254

[SRC]if (userLogin) priceParams.partyId = userLogin.partyId

[MSG]The if statement lacks braces

MiniProductSummary.groovyExplicitCallToEqualsMethod259

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to Y.equals(productStore.get(showPricesWithVatTax)) method can be rewritten as (Y == (productStore.get(showPricesWithVatTax)))

MiniProductSummary.groovyLineLength260

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The line exceeds 150 characters. The line is 174 characters.

MiniProductSummary.groovyExplicitCallToEqualsMethod267

[SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to AGGREGATED.equals(miniProduct.productTypeId) method can be rewritten as (AGGREGATED == (miniProduct.productTypeId))

MiniProductSummary.groovyExplicitCallToEqualsMethod267

[SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to AGGREGATED_SERVICE.equals(miniProduct.productTypeId) method can be rewritten as (AGGREGATED_SERVICE == (miniProduct.productTypeId))

MiniProductSummary.groovyExplicitCallToEqualsMethod272

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to Y.equals(productStore.get(showPricesWithVatTax)) method can be rewritten as (Y == (productStore.get(showPricesWithVatTax)))

MiniProductSummary.groovyLineLength274

[SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId])

[MSG]The line exceeds 150 characters. The line is 178 characters.

Mrv.groovyEmptyElseBlock265

[SRC]} else {

[MSG]The else block is empty

NewCustomer.groovyExplicitCallToEqualsMethod231

[SRC]context.createAllowPassword = "Y".equals(productStore.allowPassword)

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to Y.equals(productStore.allowPassword) method can be rewritten as (Y == (productStore.allowPassword))

NewCustomer.groovyExplicitCallToEqualsMethod232

[SRC]context.getUsername = !"Y".equals(productStore.usePrimar..ailUsername)

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to Y.equals(productStore.usePrimaryEmailUsername) method can be rewritten as (Y == (productStore.usePrimaryEmailUsername))

OrderHistory.groovyExplicitCallToEqualsMethod228

[SRC]if ("SUPPLIER".equals(partyRole.roleTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to SUPPLIER.equals(partyRole.roleTypeId) method can be rewritten as (SUPPLIER == (partyRole.roleTypeId))

OrderHistory.groovyLineLength243

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The line exceeds 150 characters. The line is 239 characters.

OrderStatus.groovyLineLength234

[SRC]// we have a special case here where for an anonymous or..y check here

[MSG]The line exceeds 150 characters. The line is 178 characters.

OrderStatus.groovyLineLength237

[SRC]// This is another special case, when Order is placed by..rder Manager

[MSG]The line exceeds 150 characters. The line is 159 characters.

OrderStatus.groovyLineLength248

[SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"]))

[MSG]The line exceeds 150 characters. The line is 189 characters.

OrderStatus.groovyLineLength253

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"]))

[MSG]The line exceeds 150 characters. The line is 203 characters.

OrderStatus.groovyLineLength255

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"]))

[MSG]The line exceeds 150 characters. The line is 186 characters.

OrderStatus.groovyExplicitCallToEqualsMethod263

[SRC]if ("ORDER_COMPLETED".equals(orderStatus.statusId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to ORDER_COMPLETED.equals(orderStatus.statusId) method can be rewritten as (ORDER_COMPLETED == (orderStatus.statusId))

OrderStatus.groovyExplicitCallToEqualsMethod291

[SRC]if ("PURCHASE_ORDER".equals(orderHeader?.orderTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to PURCHASE_ORDER.equals(orderHeader?.orderTypeId) method can be rewritten as (PURCHASE_ORDER == (orderHeader?.orderTypeId))

OrderStatus.groovyLineLength2101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]The line exceeds 150 characters. The line is 152 characters.

OrderStatus.groovyExplicitCallToEqualsMethod2101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to anonymous.equals(orderHeader.createdBy) method can be rewritten as (anonymous == (orderHeader.createdBy))

OrderStatus.groovyExplicitCallToEqualsMethod2101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to anonymous.equals(orderHeader.createdBy) method can be rewritten as (anonymous == (orderHeader.createdBy))

OrderStatus.groovyExplicitCallToEqualsMethod2101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to Y.equals(allowAnonymousView) method can be rewritten as (Y == (allowAnonymousView))

OrderStatus.groovyLineLength2107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The line exceeds 150 characters. The line is 237 characters.

OrderStatus.groovyIfStatementBraces2114

[SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore)

[MSG]The if statement lacks braces

OrderStatus.groovyExplicitCallToEqualsMethod2114

[SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore)

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to N.equals(productStore.isDemoStore) method can be rewritten as (N == (productStore.isDemoStore))

OrderStatus.groovyLineLength2135

[SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")])

[MSG]The line exceeds 150 characters. The line is 213 characters.

OrderStatus.groovyIfStatementBraces2151

[SRC]if (paymentAddress) context.paymentAddress = paymentAddress

[MSG]The if statement lacks braces

OrderStatus.groovyLineLength2154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The line exceeds 150 characters. The line is 173 characters.

OrderStatus.groovyExplicitTreeSetInstantiation2161

[SRC]customerPoNumberSet = new TreeSet()

[MSG]TreeSet objects are better instantiated using the form "[] as SortedSet"

OrderStatus.groovyExplicitCallToEqualsMethod2164

[SRC]if (correspondingPoId && !"(none)".equals(correspondingPoId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to (none).equals(correspondingPoId) method can be rewritten as ((none) == (correspondingPoId))

OrderStatus.groovyExplicitCallToEqualsMethod2177

[SRC]if (!"RETURN_CANCELLED".equals(rh.statusId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to RETURN_CANCELLED.equals(rh.statusId) method can be rewritten as (RETURN_CANCELLED == (rh.statusId))

OwnerContentPrep.groovyLineLength250

[SRC]departmentPointList = ContentManagementWorker.getPermitt..ATE", null )

[MSG]The line exceeds 150 characters. The line is 172 characters.

PaymentInformation.groovyExplicitCallToEqualsMethod239

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId))

PaymentInformation.groovyLineLength256

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The line exceeds 150 characters. The line is 172 characters.

PaymentInformation.groovyExplicitCallToEqualsMethod268

[SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod?.paymentMethodTypeId))

PaymentInformation.groovyExplicitCallToEqualsMethod272

[SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to EFT_ACCOUNT.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (EFT_ACCOUNT == (paymentMethod?.paymentMethodTypeId))

PaymentInformation.groovyExplicitCallToEqualsMethod276

[SRC]} else if ("GIFT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethod?.paymentMethodTypeId))

PaymentOptions.groovyExplicitCallToEqualsMethod228

[SRC]if ("GIFT_CARD".equals(paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethodTypeId))

PermPrep.groovyExplicitCallToEqualsMethod260

[SRC]if ("add".equals(mode)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to add.equals(mode) method can be rewritten as (add == (mode))

PermPrep.groovyExplicitCallToEqualsMethod273

[SRC]if ("complex".equals(permissionType)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to complex.equals(permissionType) method can be rewritten as (complex == (permissionType))

PermPrep.groovyExplicitCallToEqualsMethod284

[SRC]if (!currentValue || !"Content".equals(entityName)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(entityName) method can be rewritten as (Content == (entityName))

PermPrep.groovyExplicitCallToEqualsMethod2102

[SRC]if (!currentValue || !"Content".equals(entityName)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(entityName) method can be rewritten as (Content == (entityName))

PermPrep.groovyExplicitCallToEqualsMethod2107

[SRC]if ("add".equals(mode)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to add.equals(mode) method can be rewritten as (add == (mode))

PermPrep.groovyExplicitCallToEqualsMethod2119

[SRC]if ("Content".equals(currentValue?.getEntityName())) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(currentValue?.getEntityName()) method can be rewritten as (Content == (currentValue?.getEntityName()))

PermPrep.groovyExplicitCallToEqualsMethod2133

[SRC]if ("granted".equals(permissionStatus)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to granted.equals(permissionStatus) method can be rewritten as (granted == (permissionStatus))

PopularTags.groovyLineLength249

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The line exceeds 150 characters. The line is 152 characters.

PopularTags.groovyNoDouble268

[SRC]double weight = 0

[MSG]The variable weight in class org.apache.ofbiz.ecommerce.catalog.None is of type double/Double. Prefer using BigDecimal.

PopularTags.groovyNoDouble272

[SRC]double fontSize = minFontSize + ((maxFontSize - minFontSize) * weight)

[MSG]The variable fontSize in class org.apache.ofbiz.ecommerce.catalog.None is of type double/Double. Prefer using BigDecimal.

ProcessPaymentSettings.groovyExplicitCallToEqualsMethod249

[SRC]if ("EXT_OFFLINE".equals(paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.None. Explicit call to EXT_OFFLINE.equals(paymentMethodTypeId) method can be rewritten as (EXT_OFFLINE == (paymentMethodTypeId))

ProductBilling.groovyAssignmentInConditional236

[SRC]while (entryItem = entryIterator.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

ProductBilling.groovyExplicitCallToEqualsMethod238

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to INVOICE_IN_PROCESS.equals(invoice.getString(statusId)) method can be rewritten as (INVOICE_IN_PROCESS == (invoice.getString(statusId)))

ProductBilling.groovyExplicitCallToEqualsMethod271

[SRC]if ("N".equals(includeMeeting)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(includeMeeting) method can be rewritten as (N == (includeMeeting))

ProductCategories.groovyParameterName232

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]The parameter named CatLvl in method fillTree of class org.apache.ofbiz.ecommerce.catalog.None does not match [a-z][a-zA-Z0-9]*

ProductCategories.groovyIfStatementBraces243

[SRC]if(CatLvl==2)

[MSG]The if statement lacks braces

ProductCategories.groovyElseBlockBraces246

[SRC]else if(CatLvl==1)

[MSG]The else block lacks braces

ProductCategories.groovyIfStatementBraces246

[SRC]else if(CatLvl==1)

[MSG]The if statement lacks braces

ProductCategories.groovyElseBlockBraces262

[SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString())

[MSG]The else block lacks braces

ProductCategories.groovyIfStatementBraces262

[SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString())

[MSG]The if statement lacks braces

ProductCategories.groovyElseBlockBraces267

[SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString())

[MSG]The else block lacks braces

ProductCategories.groovyIfStatementBraces267

[SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString())

[MSG]The if statement lacks braces

ProductCategories.groovyLineLength283

[SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true)

[MSG]The line exceeds 150 characters. The line is 158 characters.

ProductEmail.groovyLineLength258

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The line exceeds 150 characters. The line is 154 characters.

ProductEmail.groovyLineLength272

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The line exceeds 150 characters. The line is 158 characters.

ProductsExportToEbayScript.groovyExplicitCallToEqualsMethod263

[SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) {

[MSG]Violation in class org.apache.ofbiz.ebay.None. Explicit call to Y.equals(categoryCode.substring(0, 1)) method can be rewritten as (Y == (categoryCode.substring(0, 1)))

ProductsExportToEbayScript.groovyExplicitCallToEqualsMethod263

[SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) {

[MSG]Violation in class org.apache.ofbiz.ebay.None. Explicit call to .equals(categoryCode) method can be rewritten as ( == (categoryCode))

ProjectBilling.groovyAssignmentInConditional242

[SRC]while (entryItem = entryIterator.next()) {

[MSG]Assignment used as conditional value, which always results in true. Use the == operator instead

ProjectBilling.groovyExplicitCallToEqualsMethod244

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to INVOICE_IN_PROCESS.equals(invoice.getString(statusId)) method can be rewritten as (INVOICE_IN_PROCESS == (invoice.getString(statusId)))

ProjectIsBillable.groovyExplicitCallToEqualsMethod226

[SRC]if ("INTERNAL_ORGANIZATIO".equals(member.roleTypeId)) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to INTERNAL_ORGANIZATIO.equals(member.roleTypeId) method can be rewritten as (INTERNAL_ORGANIZATIO == (member.roleTypeId))

ProjectIsBillable.groovyExplicitCallToEqualsMethod229

[SRC]if ("CLIENT_BILLING".equals(member.roleTypeId)) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to CLIENT_BILLING.equals(member.roleTypeId) method can be rewritten as (CLIENT_BILLING == (member.roleTypeId))

ProjectIsBillable.groovyExplicitCallToEqualsMethod232

[SRC]if (fromPartyId && toPartyId && fromPartyId.equals(toPartyId)) {

[MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to fromPartyId.equals(toPartyId) method can be rewritten as (fromPartyId == (toPartyId))

QuickAnonCustSettings.groovyLineLength243

[SRC]// NOTE: if there was an error, then don't look up and f..tomagically)

[MSG]The line exceeds 150 characters. The line is 182 characters.

QuickAnonCustSettings.groovyLineLength255

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The line exceeds 150 characters. The line is 168 characters.

QuickAnonCustSettings.groovyLineLength263

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The line exceeds 150 characters. The line is 169 characters.

QuickAnonCustSettings.groovyLineLength273

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The line exceeds 150 characters. The line is 167 characters.

QuickAnonCustSettings.groovyExplicitCallToEqualsMethod292

[SRC]if (cartPartyId && !"_NA_".equals(cartPartyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(cartPartyId) method can be rewritten as (_NA_ == (cartPartyId))

QuickAnonCustSettings.groovyLineLength2103

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The line exceeds 150 characters. The line is 166 characters.

QuickAnonPaymentInformation.groovyExplicitCallToEqualsMethod239

[SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod?.paymentMethodTypeId))

QuickReturn.groovyPackageName2

[MSG]package=org.apache.ofbiz.order.orderReturn

RequestReturn.groovyExplicitHashMapInstantiation245

[SRC]typeMap = new HashMap()

[MSG]HashMap objects are normally instantiated using the form "[:]"

RespondPermAndPrep.groovyExplicitCallToEqualsMethod284

[SRC]if (!"granted".equals(permissionStatus)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to granted.equals(permissionStatus) method can be rewritten as (granted == (permissionStatus))

ReturnHeader.groovyPackageName2

[MSG]package=org.apache.ofbiz.order.orderReturn

ReturnHistory.groovyPackageName2

[MSG]package=org.apache.ofbiz.order.orderReturn

ReturnItems.groovyPackageName2

[MSG]package=org.apache.ofbiz.order.orderReturn

Search.groovyReturnNullFromCatchBlock256

[SRC]return

[MSG]Do not return null from a catch block

Search.groovyExplicitCallToEqualsMethod274

[SRC]if ("any".equals(paramMap.anyOrAll)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to any.equals(paramMap.anyOrAll) method can be rewritten as (any == (paramMap.anyOrAll))

Search.groovyUnnecessaryToString289

[SRC]logInfo("in search searchFeature3, combQuery:" + combQuery.toString())

[MSG]Calling toString() on [combQuery] in class org.apache.ofbiz.ecommerce.content.None is unnecessary

Search.groovyReturnNullFromCatchBlock251

[SRC]return

[MSG]Do not return null from a catch block

Search.groovyExplicitCallToEqualsMethod270

[SRC]if ("any".equals(parameters.any_or_all)) {

[MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to any.equals(parameters.any_or_all) method can be rewritten as (any == (parameters.any_or_all))

SearchProducts.groovyReturnNullFromCatchBlock247

[SRC]return

[MSG]Do not return null from a catch block

SearchProducts.groovyReturnNullFromCatchBlock257

[SRC]return

[MSG]Do not return null from a catch block

ShipSettings.groovyExplicitCallToEqualsMethod235

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId))

ShipSettings.groovyLineLength244

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The line exceeds 150 characters. The line is 162 characters.

ShipSettings.groovyLineLength260

[SRC]// NOTE: these parameters are a special case because the..over them...

[MSG]The line exceeds 150 characters. The line is 162 characters.

ShowCart.groovyExplicitCallToEqualsMethod261

[SRC]if ("CASH".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to CASH.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (CASH == (paymentInfo.paymentMethodTypeId))

ShowCart.groovyExplicitCallToEqualsMethod264

[SRC]else if ("PERSONAL_CHECK".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to PERSONAL_CHECK.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (PERSONAL_CHECK == (paymentInfo.paymentMethodTypeId))

ShowCart.groovyExplicitCallToEqualsMethod267

[SRC]else if ("GIFT_CARD".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to GIFT_CARD.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentInfo.paymentMethodTypeId))

ShowCart.groovyExplicitCallToEqualsMethod270

[SRC]else if ("CREDIT_CARD".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to CREDIT_CARD.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentInfo.paymentMethodTypeId))

ShowPromoText.groovyExplicitCallToEqualsMethod235

[SRC]if (promoText && !"N".equals(productPromo.showToCustomer)) {

[MSG]Violation in class org.apache.ofbiz.ecommerce.cart.None. Explicit call to N.equals(productPromo.showToCustomer) method can be rewritten as (N == (productPromo.showToCustomer))

ShowPromoText.groovyInsecureRandom248

[SRC]randomIndex = Math.round(java.lang.Math.random() * (prod..- 1)) as int

[MSG]Using Math.random() is insecure. Use SecureRandom instead

SideDeepCategory.groovyLineLength224

[SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true)

[MSG]The line exceeds 150 characters. The line is 158 characters.

SprintBacklogListItems.groovyExplicitCallToEqualsMethod230

[SRC]if ("SPRINT_CLOSED".equals(currentStatus)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SPRINT_CLOSED.equals(currentStatus) method can be rewritten as (SPRINT_CLOSED == (currentStatus))

SprintBacklogListItems.groovyExplicitCallToEqualsMethod286

[SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(custMap.statusId) method can be rewritten as (CRQ_REVIEWED == (custMap.statusId))

SprintBacklogListItems.groovyExplicitCallToEqualsMethod2105

[SRC]if (!"SCRUM_SPRINT".equals(workEffMap.workEffortTypeId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_SPRINT.equals(workEffMap.workEffortTypeId) method can be rewritten as (SCRUM_SPRINT == (workEffMap.workEffortTypeId))

SprintBacklogListItems.groovyExplicitCallToEqualsMethod2107

[SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to STS_CREATED.equals(workEffMap.currentStatusId) method can be rewritten as (STS_CREATED == (workEffMap.currentStatusId))

SprintBacklogOptions.groovyExplicitCallToEqualsMethod227

[SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_SPRINT.equals(workEffortMap.workEffortTypeId) method can be rewritten as (SCRUM_SPRINT == (workEffortMap.workEffortTypeId))

SprintBacklogOptions.groovyExplicitCallToEqualsMethod227

[SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SPRINT_ACTIVE.equals(workEffortMap.currentStatusId) method can be rewritten as (SPRINT_ACTIVE == (workEffortMap.currentStatusId))

TaskList.groovyLineLength228

[SRC]//${projectId} - ${projectName} - ${sprintName} - ${groo..{taskId}]"/>

[MSG]The line exceeds 150 characters. The line is 215 characters.

TaskList.groovyLineLength230

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The line exceeds 150 characters. The line is 194 characters.

TaskList.groovyExplicitCallToEqualsMethod267

[SRC]if ("RF_SCRUM_MEETINGS".equals(taskPlanMap.custRequestTypeId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(taskPlanMap.custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (taskPlanMap.custRequestTypeId))

TaskList.groovyExplicitCallToEqualsMethod270

[SRC]if (!"SCAS_COMPLETED".equals(workEffPartyAssignedMap.statusId)) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCAS_COMPLETED.equals(workEffPartyAssignedMap.statusId) method can be rewritten as (SCAS_COMPLETED == (workEffPartyAssignedMap.statusId))

ViewProfile.groovyExplicitCallToEqualsMethod237

[SRC]showOld = "true".equals(parameters.SHOW_OLD)

[MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to true.equals(parameters.SHOW_OLD) method can be rewritten as (true == (parameters.SHOW_OLD))

ViewProfile.groovyLineLength276

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The line exceeds 150 characters. The line is 226 characters.

ViewProfile.groovyIfStatementBraces297

[SRC]if (countryGeo) it.countryGeoName = countryGeo.getString("geoName")

[MSG]The if statement lacks braces

ViewProfile.groovyIfStatementBraces299

[SRC]if (stateProvinceGeo) it.stateProvinceGeoName = statePro..g("geoName")

[MSG]The if statement lacks braces

AddProductBacklogItem.groovyNoDef327

[SRC]def inputFields = [:]

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired327

[SRC]def inputFields = [:]

[MSG]The type is not specified for variable "inputFields"

AddProductBacklogItem.groovyNoDef328

[SRC]def custRequestAndItems = []

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired328

[SRC]def custRequestAndItems = []

[MSG]The type is not specified for variable "custRequestAndItems"

AddProductBacklogItem.groovySpaceAfterClosingBrace330

[SRC]if(parameters.statusId == null){

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

AddProductBacklogItem.groovySpaceAfterIf330

[SRC]if(parameters.statusId == null){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

AddProductBacklogItem.groovySpaceBeforeOpeningBrace330

[SRC]if(parameters.statusId == null){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddProductBacklogItem.groovyUnnecessaryGString331

[SRC]parameters.statusId = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovySpaceAfterIf332

[SRC]}else if("Any".equals(parameters.statusId)){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

AddProductBacklogItem.groovySpaceBeforeOpeningBrace332

[SRC]}else if("Any".equals(parameters.statusId)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddProductBacklogItem.groovyUnnecessaryGString332

[SRC]}else if("Any".equals(parameters.statusId)){

[MSG]The String 'Any' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString333

[SRC]parameters.statusId = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString336

[SRC]inputFields.custRequestTypeId = "RF_PROD_BACKLOG"

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyNoDef337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The type is not specified for variable "performFindResults"

AddProductBacklogItem.groovyUnnecessaryGString337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The String 'entityName' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The String 'inputFields' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The String 'orderBy' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString337

[SRC]def performFindResults = runService('performFind', ["ent..quenceNum"])

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString341

[SRC]logError(e, "Failure in " + module)

[MSG]The String 'Failure in ' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyIndentation347

[SRC]logError(e)

[MSG]The statement on line 47 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

AddProductBacklogItem.groovyNoDef353

[SRC]def countSequence = 1

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired353

[SRC]def countSequence = 1

[MSG]The type is not specified for variable "countSequence"

AddProductBacklogItem.groovyNoDef354

[SRC]def custRequestAndCustRequestItems = []

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired354

[SRC]def custRequestAndCustRequestItems = []

[MSG]The type is not specified for variable "custRequestAndCustRequestItems"

AddProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure355

[SRC]custRequestAndItems.each() { custRequestAndItem ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

AddProductBacklogItem.groovyNoDef356

[SRC]def tempCustRequestAndItem = [:]

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired356

[SRC]def tempCustRequestAndItem = [:]

[MSG]The type is not specified for variable "tempCustRequestAndItem"

AddProductBacklogItem.groovyUnnecessaryGString361

[SRC]custWorkEffortList = from("CustRequestWorkEffort").where...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString361

[SRC]custWorkEffortList = from("CustRequestWorkEffort").where...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure364

[SRC]custWorkEffortList.each() { custWorkEffortMap ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

AddProductBacklogItem.groovySpaceAfterComma365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddProductBacklogItem.groovySpaceAroundMapEntryColon365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovySpaceAroundMapEntryColon365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovySpaceAroundMapEntryColon365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovyUnnecessaryGString365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString365

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovySpaceAfterIf368

[SRC]if(actualHours) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

AddProductBacklogItem.groovyUnnecessaryGString380

[SRC]if ("N".equals(parameters.sequence)) { // re-order category list item

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString381

[SRC]custRequestAndCustRequestItems = UtilMisc.sortMaps(custR..RequestId"])

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovySpaceAfterIf384

[SRC]if("".equals(parameters.statusId)){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

AddProductBacklogItem.groovySpaceBeforeOpeningBrace384

[SRC]if("".equals(parameters.statusId)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddProductBacklogItem.groovyUnnecessaryGString384

[SRC]if("".equals(parameters.statusId)){

[MSG]The String '' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString385

[SRC]parameters.statusId = "Any"

[MSG]The String 'Any' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString397

[SRC]conditionList.add(EntityCondition.makeCondition("custReq..N_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString397

[SRC]conditionList.add(EntityCondition.makeCondition("custReq..N_BACKLOG"))

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString398

[SRC]conditionList.add(EntityCondition.makeCondition("product...productId))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3100

[SRC]orConditionList.add(EntityCondition.makeCondition("statu.._ACCEPTED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3100

[SRC]orConditionList.add(EntityCondition.makeCondition("statu.._ACCEPTED"))

[MSG]The String 'CRQ_ACCEPTED' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3101

[SRC]orConditionList.add(EntityCondition.makeCondition("statu.._REOPENED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3101

[SRC]orConditionList.add(EntityCondition.makeCondition("statu.._REOPENED"))

[MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'custEstimatedMilliSeconds' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'custRequestName' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3109

[SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList()

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyNoDef3111

[SRC]def countSequenceUnplanned = 1

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired3111

[SRC]def countSequenceUnplanned = 1

[MSG]The type is not specified for variable "countSequenceUnplanned"

AddProductBacklogItem.groovyNoDef3112

[SRC]def unplanBacklogItems = []

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired3112

[SRC]def unplanBacklogItems = []

[MSG]The type is not specified for variable "unplanBacklogItems"

AddProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure3113

[SRC]unplannedList.each() { unplannedItem ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

AddProductBacklogItem.groovyNoDef3114

[SRC]def tempUnplanned = [:]

[MSG]def for declaration should not be used

AddProductBacklogItem.groovyVariableTypeRequired3114

[SRC]def tempUnplanned = [:]

[MSG]The type is not specified for variable "tempUnplanned"

AddProductBacklogItem.groovyUnnecessaryGString3119

[SRC]unplanCustWorkEffortList = from("CustRequestWorkEffort")...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3119

[SRC]unplanCustWorkEffortList = from("CustRequestWorkEffort")...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure3122

[SRC]unplanCustWorkEffortList.each() { custWorkEffortMap ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

AddProductBacklogItem.groovySpaceAfterComma3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddProductBacklogItem.groovySpaceAroundMapEntryColon3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovySpaceAroundMapEntryColon3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovySpaceAroundMapEntryColon3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

AddProductBacklogItem.groovyUnnecessaryGString3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3123

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovySpaceAfterIf3126

[SRC]if(actualHours) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

AddProductBacklogItem.groovyUnnecessaryGString3137

[SRC]if ("N".equals(parameters.UnplannedSequence)) { // re-or..ry list item

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

AddProductBacklogItem.groovyUnnecessaryGString3138

[SRC]unplanBacklogItems = UtilMisc.sortMaps(unplanBacklogItem..RequestId"])

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovySpaceAfterComma324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The parameter taskCurrentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString324

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'taskId DESC' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyIndentation326

[SRC]userLoginId = userLogin.partyId

[MSG]The statement on line 26 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [23, 27, 31] columns, but was 1

AddResourceTaskParty.groovyUnnecessaryGString328

[SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString328

[SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString328

[SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString333

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString333

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString333

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString338

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString338

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyInvertedIfElse341

[SRC]if (!partyAssignmentTaskMap) {

[MSG]Testing the negative condition first can make an if statement confusing

AddResourceTaskParty.groovyUnnecessaryGString347

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

AddResourceTaskParty.groovyUnnecessaryGString347

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

AdvancedSearchPrep.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

AdvancedSearchPrep.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.product.feature.*

[MSG]Wildcard (star) import

AdvancedSearchPrep.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.product.product.*

[MSG]Wildcard (star) import

AdvancedSearchPrep.groovyUnnecessaryGString330

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]The String 'AND' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyUnnecessaryGString330

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]The String 'OR' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyIndentation331

[SRC]searchOperator = "OR"

[MSG]The statement on line 31 in class org.apache.ofbiz.ecommerce.content.None is at the incorrect indent level: Expected column 5 but was 3

AdvancedSearchPrep.groovyUnnecessaryGString331

[SRC]searchOperator = "OR"

[MSG]The String 'OR' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyUnnecessaryGString327

[SRC]searchOperator = request.getParameter("SEARCH_OPERATOR")

[MSG]The String 'SEARCH_OPERATOR' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyUnnecessaryGString328

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]The String 'AND' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyUnnecessaryGString328

[SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) {

[MSG]The String 'OR' can be wrapped in single quotes instead of double quotes

AdvancedSearchPrep.groovyIndentation329

[SRC]searchOperator = "OR"

[MSG]The statement on line 29 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 5 but was 3

AdvancedSearchPrep.groovyUnnecessaryGString329

[SRC]searchOperator = "OR"

[MSG]The String 'OR' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.product.category.*

[MSG]Wildcard (star) import

AjaxBreadcrumbs.groovySpaceAroundOperator324

[SRC]productCategoryId=parameters.category_id

[MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

AjaxBreadcrumbs.groovySpaceAroundOperator324

[SRC]productCategoryId=parameters.category_id

[MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

AjaxBreadcrumbs.groovySpaceAfterIf325

[SRC]if(parentCategoryStr) {

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

AjaxBreadcrumbs.groovySpaceAfterFor329

[SRC]for(path in pathList) {

[MSG]The for keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

AjaxBreadcrumbs.groovyUnnecessaryGString331

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString331

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString335

[SRC]cateMap.title = categoryContentWrapper.get("DESCRIPTION", "html")

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString335

[SRC]cateMap.title = categoryContentWrapper.get("DESCRIPTION", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString347

[SRC]currentCategory = from("ProductCategory").where("product..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString347

[SRC]currentCategory = from("ProductCategory").where("product..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString349

[SRC]context.currentCategoryName = currentCategoryContentWrap..ME", "html")

[MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString349

[SRC]context.currentCategoryName = currentCategoryContentWrap..ME", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString350

[SRC]context.currentCategoryDescription = currentCategoryCont..ON", "html")

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

AjaxBreadcrumbs.groovyUnnecessaryGString350

[SRC]context.currentCategoryDescription = currentCategoryCont..ON", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

AnonymousTrail.groovyUnnecessaryGString323

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString328

[SRC]context.shipAddr = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString329

[SRC]trailClassMap.shipAddr = "submenutextright"

[MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString333

[SRC]context.shipOptions = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString334

[SRC]trailClassMap.shipAddr = "submenutext"

[MSG]The String 'submenutext' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString335

[SRC]trailClassMap.shipOptions = "submenutextright"

[MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString339

[SRC]context.billing = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString340

[SRC]trailClassMap.shipOptions = "submenutext"

[MSG]The String 'submenutext' can be wrapped in single quotes instead of double quotes

AnonymousTrail.groovyUnnecessaryGString341

[SRC]trailClassMap.paymentType = "submenutextright"

[MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes

ApiTokenGenerator.groovySpaceAroundMapEntryColon334

[SRC]expires_in : expireTimeString,

[MSG]The colon for the literal Map entry for key [expires_in] within class org.apache.ofbiz.example.None is not preceded by a match for regular expression [\S]

ApiTokenGenerator.groovySpaceAroundMapEntryColon335

[SRC]token_type : 'Bearer',]

[MSG]The colon for the literal Map entry for key [token_type] within class org.apache.ofbiz.example.None is not preceded by a match for regular expression [\S]

BacklogNotifications.groovyConsecutiveBlankLines320

[MSG]File BacklogNotifications.groovy has consecutive blank lines

BacklogNotifications.groovyNoDef322

[SRC]def module = "BacklogNotifications.groovy"

[MSG]def for declaration should not be used

BacklogNotifications.groovyVariableTypeRequired322

[SRC]def module = "BacklogNotifications.groovy"

[MSG]The type is not specified for variable "module"

BacklogNotifications.groovyUnnecessaryGString322

[SRC]def module = "BacklogNotifications.groovy"

[MSG]The String 'BacklogNotifications.groovy' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString324

[SRC]custRequest = from("CustRequest").where("custRequestId",..).queryOne()

[MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString324

[SRC]custRequest = from("CustRequest").where("custRequestId",..).queryOne()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString325

[SRC]person = from("PartyNameView").where("partyId", partyIdTo).queryOne()

[MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString325

[SRC]person = from("PartyNameView").where("partyId", partyIdTo).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'ProductBacklog' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString333

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString335

[SRC]product = from("Product").where("productId", backlogList..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString335

[SRC]product = from("Product").where("productId", backlogList..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString336

[SRC]sprint = from("WorkEffort").where("workEffortId", backlo..).queryOne()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString336

[SRC]sprint = from("WorkEffort").where("workEffortId", backlo..).queryOne()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString342

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString342

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString342

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString342

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'ProductBacklog' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString342

[SRC]backlogList = select("productId", "workEffortId", "custR...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString345

[SRC]product = from("Product").where("productId", backlogList..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString345

[SRC]product = from("Product").where("productId", backlogList..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString353

[SRC]if ("CRQ_ACCEPTED".equals(custRequest.statusId)) {

[MSG]The String 'CRQ_ACCEPTED' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString354

[SRC]custStatusList = custRequest.getRelated("CustRequestStat..Id"], false)

[MSG]The String 'CustRequestStatus' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString354

[SRC]custStatusList = custRequest.getRelated("CustRequestStat..Id"], false)

[MSG]The String '-custRequestStatusId' can be wrapped in single quotes instead of double quotes

BacklogNotifications.groovyUnnecessaryGString355

[SRC]if (custStatusList.size() > 2 && "CRQ_REVIEWED".equals(c..statusId)) {

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

BestSellingCategory.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

BestSellingCategory.groovyUnusedImport322

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

BestSellingCategory.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

BestSellingCategory.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.product.category.*

[MSG]Wildcard (star) import

BestSellingCategory.groovyUnnecessaryGString330

[SRC]prodCatalogCategoryList = CatalogWorker.getProdCatalogCa.._BEST_SELL")

[MSG]The String 'PCCT_BEST_SELL' can be wrapped in single quotes instead of double quotes

BestSellingCategory.groovyUnnecessaryGString334

[SRC]productCategoryId = prodCatalogCategory.getString("productCategoryId")

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

BestSellingCategory.groovyUnnecessaryGString335

[SRC]childCategoryList = CategoryWorker.getRelatedCategoriesR..oryId, true)

[MSG]The String 'childCategoryList' can be wrapped in single quotes instead of double quotes

BillSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

BillSettings.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

BillSettings.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

BillSettings.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.accounting.payment.*

[MSG]Wildcard (star) import

BillSettings.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

BillSettings.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

BillSettings.groovyUnnecessaryGString328

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString332

[SRC]payType = "GC"

[MSG]The String 'GC' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString341

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString343

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString345

[SRC]person = party.getRelatedOne("Person", false)

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString349

[SRC]context.paymentMethodList = EntityUtil.filterByDate(part..ull, false))

[MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString361

[SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne()

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString361

[SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString362

[SRC]context.useEntityFields = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString366

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString366

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString366

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString366

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString377

[SRC]paymentMethod = from("PaymentMethod").where("paymentMeth..).queryOne()

[MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString377

[SRC]paymentMethod = from("PaymentMethod").where("paymentMeth..).queryOne()

[MSG]The String 'paymentMethodId' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString380

[SRC]if ("CREDIT_CARD".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString381

[SRC]account = paymentMethod.getRelatedOne("CreditCard", false)

[MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString383

[SRC]context.paymentMethodType = "CC"

[MSG]The String 'CC' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString384

[SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString385

[SRC]account = paymentMethod.getRelatedOne("EftAccount", false)

[MSG]The String 'EftAccount' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString387

[SRC]context.paymentMethodType = "EFT"

[MSG]The String 'EFT' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString388

[SRC]} else if ("GIFT_CARD".equals(paymentMethod.paymentMethodTypeId)) {

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString389

[SRC]account = paymentMethod.getRelatedOne("GiftCard", false)

[MSG]The String 'GiftCard' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString391

[SRC]context.paymentMethodType = "GC"

[MSG]The String 'GC' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString393

[SRC]context.paymentMethodType = "offline"

[MSG]The String 'offline' can be wrapped in single quotes instead of double quotes

BillSettings.groovyUnnecessaryGString396

[SRC]address = account.getRelatedOne("PostalAddress", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

BomSimulation.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.manufacturing.bom.BOMNode

Category.groovyUnnecessaryGString329

[SRC]detailScreen = "categorydetail"

[MSG]The String 'categorydetail' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString333

[SRC]if (!(productCategoryId) && request.getAttribute("topCategoryId")) {

[MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString334

[SRC]productCategoryId = request.getAttribute("topCategoryId")

[MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString337

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString337

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString343

[SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html")

[MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString343

[SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString344

[SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html")

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString344

[SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString347

[SRC]context.metaKeywords = categoryDescription + ", " + catalogName

[MSG]The String ', ' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString361

[SRC]request.setAttribute("productCategoryId", productCategoryId)

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString362

[SRC]request.setAttribute("defaultViewSize", 10)

[MSG]The String 'defaultViewSize' can be wrapped in single quotes instead of double quotes

Category.groovyUnnecessaryGString363

[SRC]request.setAttribute("limitView", true)

[MSG]The String 'limitView' can be wrapped in single quotes instead of double quotes

ChangePassword.groovyUnnecessaryGroovyImport321

[SRC]import java.util.HashMap

ChangePassword.groovyUnusedImport321

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

ChangePassword.groovyUnnecessaryGString330

[SRC]donePage = parameters.DONE_PAGE ?: "viewprofile"

[MSG]The String 'viewprofile' can be wrapped in single quotes instead of double quotes

ChangePassword.groovyCouldBeElvis334

[SRC]if (!userLoginData) userLoginData = [:]

[MSG]Code could use elvis operator: userLoginData = userLoginData ?: [:]

CheckoutReview.groovyNoWildcardImports321

[SRC]import java.lang.*

[MSG]Wildcard (star) import

CheckoutReview.groovyUnnecessaryGroovyImport321

[SRC]import java.lang.*

CheckoutReview.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.accounting.payment.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.order.order.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

CheckoutReview.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

CheckoutReview.groovyUnnecessaryGString331

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString342

[SRC]if ("OrderAdjustment".equals(valueObj.getEntityName())) {

[MSG]The String 'OrderAdjustment' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString360

[SRC]context.placingCustomerPerson = userLogin?.getRelatedOne..son", false)

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString368

[SRC]paymentMethodType = from("PaymentMethodType").where("pay..).queryOne()

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString368

[SRC]paymentMethodType = from("PaymentMethodType").where("pay..).queryOne()

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString377

[SRC]isDemoStore = !"N".equals(productStore.isDemoStore)

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString3100

[SRC]shipmentMethodType = from("ShipmentMethodType").where("s..).queryOne()

[MSG]The String 'ShipmentMethodType' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString3100

[SRC]shipmentMethodType = from("ShipmentMethodType").where("s..).queryOne()

[MSG]The String 'shipmentMethodTypeId' can be wrapped in single quotes instead of double quotes

CheckoutReview.groovyUnnecessaryGString3110

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

CheckoutShippingOptions.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.order.shoppingcart.shipping.*

[MSG]Wildcard (star) import

CheckoutShippingOptions.groovyUnnecessaryGString328

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

CheckoutShippingOptions.groovyUnnecessaryGString329

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

CheckoutShippingOptions.groovyUnnecessaryGString342

[SRC]context.emailList = ContactHelper.getContactMechByType(p..ESS", false)

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

CommonServicesScript.groovyImportFromSamePackage327

[SRC]import org.apache.ofbiz.common.CommonWorkers

CompanyHeader.groovyImportFromSamePackage330

[SRC]import org.apache.ofbiz.order.order.OrderReadHelper

ContactList.groovyNoWildcardImports321

[SRC]import java.lang.*

[MSG]Wildcard (star) import

ContactList.groovyUnnecessaryGroovyImport321

[SRC]import java.lang.*

ContactList.groovyNoWildcardImports322

[SRC]import java.util.*

[MSG]Wildcard (star) import

ContactList.groovyUnnecessaryGroovyImport322

[SRC]import java.util.*

ContactList.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ContactList.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ContactList.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

ContactList.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

ContactList.groovyUnusedImport327

[SRC]import org.apache.ofbiz.party.contact.ContactMechWorker

[MSG]The [org.apache.ofbiz.party.contact.ContactMechWorker] import is never referenced

ContactList.groovyUnusedImport328

[SRC]import org.apache.ofbiz.product.store.ProductStoreWorker

[MSG]The [org.apache.ofbiz.product.store.ProductStoreWorker] import is never referenced

ContactList.groovyUnusedImport330

[SRC]import org.apache.ofbiz.accounting.payment.PaymentWorker

[MSG]The [org.apache.ofbiz.accounting.payment.PaymentWorker] import is never referenced

ContactList.groovyUnnecessaryGString338

[SRC]exprList.add(EntityCondition.makeCondition("webSiteId", .. webSiteId))

[MSG]The String 'webSiteId' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString339

[SRC]exprListThruDate.add(EntityCondition.makeCondition("thru..UALS, null))

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString340

[SRC]exprListThruDate.add(EntityCondition.makeCondition("thru..imestamp()))

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString343

[SRC]webSiteContactList = from("WebSiteContactList").where(ex...queryList()

[MSG]The String 'WebSiteContactList' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString347

[SRC]contactList = webSiteContactList.getRelatedOne("ContactList", false)

[MSG]The String 'ContactList' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString348

[SRC]contactListType = contactList.getRelatedOne("ContactListType", false)

[MSG]The String 'ContactListType' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString357

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'PartyAndContactMech' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString357

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString357

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'contactMechTypeId' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString357

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

ContactList.groovyUnnecessaryGString357

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

ContentAddPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

ContentAddPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

ContentAddPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

ContentAddPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

ContentAddPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

ContentAddPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

ContentAddPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

ContentAddPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

ContentAddPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

ContentAddPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

ContentAddPrep.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyDuplicateImport337

[SRC]import org.apache.ofbiz.entity.model.*

ContentAddPrep.groovyUnusedImport339

[SRC]import org.apache.ofbiz.content.content.ContentWorker

[MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced

ContentAddPrep.groovyUnusedImport341

[SRC]import freemarker.template.SimpleHash

[MSG]The [freemarker.template.SimpleHash] import is never referenced

ContentAddPrep.groovyUnusedImport342

[SRC]import freemarker.template.SimpleSequence

[MSG]The [freemarker.template.SimpleSequence] import is never referenced

ContentAddPrep.groovyNoWildcardImports344

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyNoWildcardImports345

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

ContentAddPrep.groovyUnnecessaryGString348

[SRC]singleWrapper.putInContext("contentPurposeTypeId", page...rposeTypeId)

[MSG]The String 'contentPurposeTypeId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString349

[SRC]singleWrapper.putInContext("contentAssocTypeId", page.co..AssocTypeId)

[MSG]The String 'contentAssocTypeId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString352

[SRC]contentIdTo = ContentManagementWorker.getFromSomewhere("..st, context)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString356

[SRC]attrList = from("ContentAttribute").where("contentId", c...queryList()

[MSG]The String 'ContentAttribute' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString356

[SRC]attrList = from("ContentAttribute").where("contentId", c...queryList()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString356

[SRC]attrList = from("ContentAttribute").where("contentId", c...queryList()

[MSG]The String 'attrName' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString356

[SRC]attrList = from("ContentAttribute").where("contentId", c...queryList()

[MSG]The String 'publishOperation' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString364

[SRC]singleWrapper.putInContext("publishOperation", publishOperation)

[MSG]The String 'publishOperation' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString365

[SRC]singleWrapper.putInContext("contentIdTo", contentIdTo)

[MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString368

[SRC]singleWrapper.putInContext("summaryDataResourceTypeId", ..ourceTypeId)

[MSG]The String 'summaryDataResourceTypeId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString369

[SRC]targetOperation = page.targetOperation ?: "CONTENT_CREATE"

[MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString371

[SRC]singleWrapper.putInContext("targetOperation", targetOperation)

[MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString372

[SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT")

[MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString372

[SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT")

[MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString373

[SRC]contentPurpose = page.contentPurpose ?: "ARTICLE"

[MSG]The String 'ARTICLE' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString375

[SRC]singleWrapper.putInContext("contentPurpose", contentPurpose)

[MSG]The String 'contentPurpose' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString376

[SRC]singleWrapper.putInContext("forumId", contentIdTo)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString378

[SRC]forumContent = from("Content").where("contentId", conten..).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString378

[SRC]forumContent = from("Content").where("contentId", conten..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString379

[SRC]statusId = "CTNT_PUBLISHED"

[MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyCouldBeElvis382

[SRC]if (!statusId) {

[MSG]Code could use elvis operator: statusId = statusId ?: page.statusId

ContentAddPrep.groovyCouldBeElvis385

[SRC]if (!statusId) {

[MSG]Code could use elvis operator: statusId = statusId ?: 'CTNT_PUBLISHED'

ContentAddPrep.groovyUnnecessaryGString386

[SRC]statusId = "CTNT_PUBLISHED"

[MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes

ContentAddPrep.groovyUnnecessaryGString389

[SRC]singleWrapper.putInContext("statusId", statusId)

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ContentPrep.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ContentPrep.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

ContentPrep.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

ContentPrep.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

ContentPrep.groovyUnnecessaryGroovyImport331

[SRC]import java.io.StringWriter

ContentPrep.groovyNoWildcardImports335

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

ContentPrep.groovyNoWildcardImports336

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

ContentPrep.groovyUnnecessaryGString346

[SRC]contentId = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString347

[SRC]contentId = ContentManagementWorker.getFromSomewhere("ma..st, context)

[MSG]The String 'masterContentId' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyCouldBeElvis348

[SRC]if (!contentId)

[MSG]Code could use elvis operator: contentId = contentId ?: ContentManagementWorker.getFromSomewhere(contentIdTo, paramMap, request, context)

ContentPrep.groovyUnnecessaryGString349

[SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context)

[MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyCouldBeElvis350

[SRC]if (!contentId)

[MSG]Code could use elvis operator: contentId = contentId ?: ContentManagementWorker.getFromSomewhere(contentId, paramMap, request, context)

ContentPrep.groovyUnnecessaryGString351

[SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context)

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString361

[SRC]currentValue = from("Content").where("contentId", conten..).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString361

[SRC]currentValue = from("Content").where("contentId", conten..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString374

[SRC]rootDir = request.getSession().getServletContext().getRealPath("/")

[MSG]The String '/' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString388

[SRC]subContentDataResourceView = ContentWorker.getSubContent..s, fromDate)

[MSG]The String 'ARTICLE' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyIndentation3100

[SRC]singleWrapper.putInContext("textData", textData)

[MSG]The statement on line 100 in class org.apache.ofbiz.ecommerce.forum.None is at the incorrect indent level: Expected column 13 but was 12

ContentPrep.groovyUnnecessaryGString3100

[SRC]singleWrapper.putInContext("textData", textData)

[MSG]The String 'textData' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString3104

[SRC]subContentDataResourceView = ContentWorker.getSubContent..mDate, true)

[MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString3116

[SRC]singleWrapper.putInContext("summaryData", summaryData)

[MSG]The String 'summaryData' can be wrapped in single quotes instead of double quotes

ContentPrep.groovyUnnecessaryGString3120

[SRC]subContentDataResourceView = ContentWorker.getSubContent..mDate, true)

[MSG]The String 'IMAGE' can be wrapped in single quotes instead of double quotes

ContentSearchOptions.groovyImportFromSamePackage322

[SRC]import org.apache.ofbiz.content.content.ContentSearchSession

ContentSearchResults.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.content.content.ContentSearchSession

ContentSearchResults.groovyImportFromSamePackage322

[SRC]import org.apache.ofbiz.content.content.ContentSearchEvents

ContentServicesScript.groovyImportFromSamePackage323

[SRC]import org.apache.ofbiz.content.content.ContentKeywordIndex

ContentServicesScript.groovySpaceAfterOpeningBrace3601

[SRC]long contentsUpdated = contentCreatedList.stream().filte..'Y'}.count()

[MSG]The opening brace for the closure in class org.apache.ofbiz.content.content.None is not followed by a space or whitespace

ContentServicesScript.groovySpaceBeforeClosingBrace3601

[SRC]long contentsUpdated = contentCreatedList.stream().filte..'Y'}.count()

[MSG]The closing brace for the closure in class org.apache.ofbiz.content.content.None is not preceded by a space or whitespace

ContentServicesScript.groovyJavadocMissingParamDescription3607

[SRC]* @param parentProductCategoryId

[MSG]The description for the javadoc @param tag is missing

ContentServicesScript.groovyJavadocEmptyReturnTag3608

[SRC]* @return

[MSG]The javadoc @return tag is empty

ContentServicesScript.groovyJavadocMissingParamDescription3625

[SRC]* @param contentId

[MSG]The description for the javadoc @param tag is missing

ContentServicesScript.groovyJavadocEmptyReturnTag3626

[SRC]* @return

[MSG]The javadoc @return tag is empty

ContentServicesScript.groovyBlockStartsWithBlankLine3650

[MSG]Code block starts with a blank line.

ContentServicesScript.groovyJavadocEmptyReturnTag3674

[SRC]* @return

[MSG]The javadoc @return tag is empty

ContentServicesScript.groovyUnnecessaryGString3687

[SRC]dataResource.removeRelated("ElectronicText")

[MSG]The String 'ElectronicText' can be wrapped in single quotes instead of double quotes

ContentServicesScript.groovyUnnecessaryGString3688

[SRC]dataResource.removeRelated("ImageDataResource")

[MSG]The String 'ImageDataResource' can be wrapped in single quotes instead of double quotes

ContentServicesScript.groovyUnnecessaryGString3689

[SRC]dataResource.removeRelated("OtherDataResource")

[MSG]The String 'OtherDataResource' can be wrapped in single quotes instead of double quotes

ContentServicesScript.groovyUnnecessaryGString3690

[SRC]dataResource.removeRelated("VideoDataResource")

[MSG]The String 'VideoDataResource' can be wrapped in single quotes instead of double quotes

ContentServicesScript.groovyUnnecessaryGString3691

[SRC]dataResource.removeRelated("DataResourceRole")

[MSG]The String 'DataResourceRole' can be wrapped in single quotes instead of double quotes

ContentServicesScript.groovyJavadocEmptyReturnTag3700

[SRC]* @return

[MSG]The javadoc @return tag is empty

ContentServicesScript.groovySpaceAroundMapEntryColon3709

[SRC]textData : getElectronicTextResult.textData]

[MSG]The colon for the literal Map entry for key [textData] within class org.apache.ofbiz.content.content.None is not preceded by a match for regular expression [\S]

ContentServicesScript.groovyJavadocEmptyReturnTag3735

[SRC]* @return

[MSG]The javadoc @return tag is empty

CurrentValPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

CurrentValPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

CurrentValPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

CurrentValPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

CurrentValPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

CurrentValPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

CurrentValPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

CurrentValPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

CurrentValPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

CurrentValPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

CurrentValPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

CurrentValPrep.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports337

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyNoWildcardImports338

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

CurrentValPrep.groovyUnnecessaryGString340

[SRC]currentEntityMap = session.getAttribute("currentEntityMap")

[MSG]The String 'currentEntityMap' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString343

[SRC]session.setAttribute("currentEntityMap", currentEntityMap)

[MSG]The String 'currentEntityMap' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyInvertedIfElse348

[SRC]if (!currentEntityPropertyName) {

[MSG]Testing the negative condition first can make an if statement confusing

CurrentValPrep.groovyInvertedIfElse391

[SRC]if (!sPassed) {

[MSG]Testing the negative condition first can make an if statement confusing

CurrentValPrep.groovyInvertedIfElse397

[SRC]if (!sPassed) {

[MSG]Testing the negative condition first can make an if statement confusing

CurrentValPrep.groovyUnnecessaryGString3120

[SRC]request.setAttribute("currentPK", currentPK)

[MSG]The String 'currentPK' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3124

[SRC]request.setAttribute("currentValue", currentValue)

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3128

[SRC]if (currentEntityName.indexOf("DataResource") >= 0) {

[MSG]The String 'DataResource' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3129

[SRC]suffix = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3131

[SRC]if (s) suffix = "_" + s

[MSG]The String '_' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3133

[SRC]if ("_ELECTRONIC_TEXT".equals(suffix)) {

[MSG]The String '_ELECTRONIC_TEXT' can be wrapped in single quotes instead of double quotes

CurrentValPrep.groovyUnnecessaryGString3135

[SRC]if (s) suffix += "_" + s

[MSG]The String '_' can be wrapped in single quotes instead of double quotes

CustSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

CustSettings.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.util.EntityUtil

[MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced

CustSettings.groovyUnnecessaryGString338

[SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) {

[MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString338

[SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) {

[MSG]The String '_ERROR_MESSAGE_LIST_' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString339

[SRC]person = from("Person").where("partyId", partyId).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString339

[SRC]person = from("Person").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryObjectReferences353

[SRC]parameters.occupation = person.occupation

[MSG]The code could be more concise by using a with() or identity() block

CustSettings.groovyUnnecessaryObjectReferences354

[SRC]parameters.yearsWithEmployer = person.yearsWithEmployer

[MSG]The code could be more concise by using a with() or identity() block

CustSettings.groovyUnnecessaryObjectReferences355

[SRC]parameters.monthsWithEmployer = person.monthsWithEmployer

[MSG]The code could be more concise by using a with() or identity() block

CustSettings.groovyUnnecessaryObjectReferences356

[SRC]parameters.existingCustomer = person.existingCustomer

[MSG]The code could be more concise by using a with() or identity() block

CustSettings.groovyUnnecessaryGString372

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString372

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString372

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString372

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString380

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString380

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString380

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString380

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PHONE_HOME' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString390

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString390

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString390

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

CustSettings.groovyUnnecessaryGString390

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PHONE_WORK' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

CustomerAddress.groovyUnnecessaryGString329

[SRC]context.personShipTo = from("Person").where("partyId", s..).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString329

[SRC]context.personShipTo = from("Person").where("partyId", s..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString331

[SRC]shippingContactMechId = shoppingCart.getContactMech("SHI..G_LOCATION")

[MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString333

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString333

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString334

[SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) {

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString335

[SRC]context.shippingPostalAddress = contactMech.getRelatedOn..ess", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString340

[SRC]context.personBillTo = from("Person").where("partyId", b..).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString340

[SRC]context.personBillTo = from("Person").where("partyId", b..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString342

[SRC]billingContactMechId = shoppingCart.getContactMech("BILLING_LOCATION")

[MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString344

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString344

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString345

[SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) {

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

CustomerAddress.groovyUnnecessaryGString346

[SRC]context.billingPostalAddress = contactMech.getRelatedOne..ess", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

CustomerReviews.groovyUnusedImport321

[SRC]import org.apache.ofbiz.entity.condition.EntityOperator

[MSG]The [org.apache.ofbiz.entity.condition.EntityOperator] import is never referenced

CustomerReviews.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.condition.EntityCondition

[MSG]The [org.apache.ofbiz.entity.condition.EntityCondition] import is never referenced

CustomerReviews.groovyIndentation326

[SRC]reviews = from("ProductReview").where("userLoginId", use...queryList()

[MSG]The statement on line 26 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3

CustomerReviews.groovyUnnecessaryGString326

[SRC]reviews = from("ProductReview").where("userLoginId", use...queryList()

[MSG]The String 'ProductReview' can be wrapped in single quotes instead of double quotes

CustomerReviews.groovyUnnecessaryGString326

[SRC]reviews = from("ProductReview").where("userLoginId", use...queryList()

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

CustomerReviews.groovyIndentation328

[SRC]context.reviews = reviews

[MSG]The statement on line 28 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3

CustomerSurvey.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

CustomerSurvey.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.Delegator

[MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced

CustomerSurvey.groovyUnusedImport323

[SRC]import org.apache.ofbiz.entity.GenericValue

[MSG]The [org.apache.ofbiz.entity.GenericValue] import is never referenced

CustomerSurvey.groovyUnnecessaryGString331

[SRC]surveyAppl = from("ProductStoreSurveyAppl").where("produ..).queryOne()

[MSG]The String 'ProductStoreSurveyAppl' can be wrapped in single quotes instead of double quotes

CustomerSurvey.groovyUnnecessaryGString331

[SRC]surveyAppl = from("ProductStoreSurveyAppl").where("produ..).queryOne()

[MSG]The String 'productStoreSurveyId' can be wrapped in single quotes instead of double quotes

CustomerSurvey.groovyUnnecessaryGString333

[SRC]survey = surveyAppl.getRelatedOne("Survey", false)

[MSG]The String 'Survey' can be wrapped in single quotes instead of double quotes

CustomerSurvey.groovySpaceAroundMapEntryColon337

[SRC]paramMap = [productStoreSurveyId : productStoreSurveyId]

[MSG]The colon for the literal Map entry for key [productStoreSurveyId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

DataServicesScript.groovyImportFromSamePackage323

[SRC]import org.apache.ofbiz.content.data.DataResourceWorker

EbayAdvancedSearch.groovyUnnecessaryGString335

[SRC]ebayConfigList = from("EbayConfig").queryList()

[MSG]The String 'EbayConfig' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyUnnecessaryGString340

[SRC]prodCatalog = from("ProdCatalog").where("prodCatalogId",..).queryOne()

[MSG]The String 'ProdCatalog' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyUnnecessaryGString340

[SRC]prodCatalog = from("ProdCatalog").where("prodCatalogId",..).queryOne()

[MSG]The String 'prodCatalogId' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyCouldBeElvis353

[SRC]if (!topCategory) {

[MSG]Code could use elvis operator: topCategory = topCategory ?: CatalogWorker.getCatalogTopCategoryId(request, currentCatalogId)

EbayAdvancedSearch.groovyUnnecessaryGString357

[SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..egory, true)

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyUnnecessaryGString358

[SRC]if (request.getAttribute("topLevelList")) {

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyUnnecessaryGString359

[SRC]categoryList = request.getAttribute("topLevelList")

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

EbayAdvancedSearch.groovyUnnecessaryGString365

[SRC]categoryIds = EntityUtil.getFieldListFromEntityList(cate..ryId", true)

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

EbayOrders.groovyUnnecessaryGString322

[SRC]session.setAttribute("orderList", parameters.orderList)

[MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes

EcommerceSetup.groovyNoWildcardImports321

[SRC]import java.util.*

[MSG]Wildcard (star) import

EcommerceSetup.groovyUnnecessaryGroovyImport321

[SRC]import java.util.*

EcommerceSetup.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

EcommerceSetup.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

EcommerceSetup.groovyUnusedImport326

[SRC]import org.apache.ofbiz.common.CommonWorkers

[MSG]The [org.apache.ofbiz.common.CommonWorkers] import is never referenced

EcommerceSetup.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

EcommerceSetup.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.webapp.control.*

[MSG]Wildcard (star) import

EcommerceSetup.groovyUnnecessaryGString341

[SRC]globalContext.checkLoginUrl = LoginWorker.makeLoginUrl(r..checkLogin")

[MSG]The String 'checkLogin' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

EditAddPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

EditAddPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

EditAddPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

EditAddPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

EditAddPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

EditAddPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

EditAddPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

EditAddPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

EditAddPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

EditAddPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

EditAddPrep.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

EditAddPrep.groovyDuplicateImport337

[SRC]import org.apache.ofbiz.entity.model.*

EditAddPrep.groovyUnusedImport338

[SRC]import org.apache.ofbiz.content.ContentManagementWorker

[MSG]The [org.apache.ofbiz.content.ContentManagementWorker] import is never referenced

EditAddPrep.groovyUnusedImport341

[SRC]import freemarker.template.SimpleHash

[MSG]The [freemarker.template.SimpleHash] import is never referenced

EditAddPrep.groovyUnusedImport342

[SRC]import freemarker.template.SimpleSequence

[MSG]The [freemarker.template.SimpleSequence] import is never referenced

EditAddPrep.groovyNoWildcardImports344

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

EditAddPrep.groovyNoWildcardImports345

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

EditAddPrep.groovyUnnecessaryGString349

[SRC]singleWrapper.putInContext("contentIdTo", contentIdTo)

[MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString351

[SRC]singleWrapper.putInContext("mapKey", mapKey)

[MSG]The String 'mapKey' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString353

[SRC]if ("SUMMARY".equals(mapKey)) {

[MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString354

[SRC]singleWrapper.putInContext("textSource", "summaryData")

[MSG]The String 'textSource' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString354

[SRC]singleWrapper.putInContext("textSource", "summaryData")

[MSG]The String 'summaryData' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString356

[SRC]singleWrapper.putInContext("textSource", "textData")

[MSG]The String 'textSource' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString356

[SRC]singleWrapper.putInContext("textSource", "textData")

[MSG]The String 'textData' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString359

[SRC]singleWrapper.putInContext("dataResourceTypeId", "ELECTRONIC_TEXT")

[MSG]The String 'dataResourceTypeId' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString359

[SRC]singleWrapper.putInContext("dataResourceTypeId", "ELECTRONIC_TEXT")

[MSG]The String 'ELECTRONIC_TEXT' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString360

[SRC]singleWrapper.putInContext("contentAssocTypeId", "SUB_CONTENT")

[MSG]The String 'contentAssocTypeId' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString360

[SRC]singleWrapper.putInContext("contentAssocTypeId", "SUB_CONTENT")

[MSG]The String 'SUB_CONTENT' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyInvertedIfElse369

[SRC]if (!currentValue) {

[MSG]Testing the negative condition first can make an if statement confusing

EditAddPrep.groovyUnnecessaryGString370

[SRC]parentValue = from("Content").where("contentId", content..).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString370

[SRC]parentValue = from("Content").where("contentId", content..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString371

[SRC]currentValue = makeValue("Content")

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString373

[SRC]if ("SUMMARY".equals(mapKey)) {

[MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString374

[SRC]subject = "Short " + subject

[MSG]The String 'Short ' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString378

[SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT")

[MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString378

[SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT")

[MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString380

[SRC]singleWrapper.putInContext("contentTypeId", null)

[MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString383

[SRC]singleWrapper.putInContext("currentValue", currentValue)

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString385

[SRC]request.setAttribute("currentValue", currentValue)

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString386

[SRC]persistAction = parameters.persistAction ?: "persistContent"

[MSG]The String 'persistContent' can be wrapped in single quotes instead of double quotes

EditAddPrep.groovyUnnecessaryGString388

[SRC]singleWrapper.putInContext("persistAction", persistAction)

[MSG]The String 'persistAction' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString321

[SRC]person = from("Person").where("partyId", parameters.part..).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString321

[SRC]person = from("Person").where("partyId", parameters.part..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString323

[SRC]request.setAttribute("lastName", person.lastName)

[MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString324

[SRC]request.setAttribute("firstName", person.firstName)

[MSG]The String 'firstName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString325

[SRC]request.setAttribute("partyId", parameters.partyId)

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString328

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString328

[SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString330

[SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString332

[SRC]request.setAttribute("contactMechId", postalAddress.contactMechId)

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString333

[SRC]request.setAttribute("toName", postalAddress.toName)

[MSG]The String 'toName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString334

[SRC]request.setAttribute("attnName", postalAddress.attnName)

[MSG]The String 'attnName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString335

[SRC]request.setAttribute("address1", postalAddress.address1)

[MSG]The String 'address1' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString336

[SRC]request.setAttribute("address2", postalAddress.address2)

[MSG]The String 'address2' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString337

[SRC]request.setAttribute("city", postalAddress.city)

[MSG]The String 'city' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString338

[SRC]request.setAttribute("postalCode", postalAddress.postalCode)

[MSG]The String 'postalCode' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString339

[SRC]request.setAttribute("stateProvinceGeoId", postalAddress..ovinceGeoId)

[MSG]The String 'stateProvinceGeoId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString340

[SRC]request.setAttribute("countryGeoId", postalAddress.countryGeoId)

[MSG]The String 'countryGeoId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryObjectReferences340

[SRC]request.setAttribute("countryGeoId", postalAddress.countryGeoId)

[MSG]The code could be more concise by using a with() or identity() block

EditAddress.groovyUnnecessaryGString341

[SRC]stateProvinceGeo = from("Geo").where("geoId", postalAddr..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString341

[SRC]stateProvinceGeo = from("Geo").where("geoId", postalAddr..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString343

[SRC]request.setAttribute("stateProvinceGeo", stateProvinceGe..e", locale))

[MSG]The String 'stateProvinceGeo' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString343

[SRC]request.setAttribute("stateProvinceGeo", stateProvinceGe..e", locale))

[MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString345

[SRC]countryProvinceGeo = from("Geo").where("geoId", postalAd..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString345

[SRC]countryProvinceGeo = from("Geo").where("geoId", postalAd..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString347

[SRC]request.setAttribute("countryProvinceGeo", countryProvin..e", locale))

[MSG]The String 'countryProvinceGeo' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString347

[SRC]request.setAttribute("countryProvinceGeo", countryProvin..e", locale))

[MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes

EditAddress.groovyUnnecessaryGString351

[SRC]request.setAttribute("contactMechPurposeTypeId", paramet..rposeTypeId)

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnusedImport323

[SRC]import org.apache.ofbiz.entity.condition.EntityCondition

[MSG]The [org.apache.ofbiz.entity.condition.EntityCondition] import is never referenced

EditBillingAddress.groovyUnnecessaryGString326

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString327

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString327

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString329

[SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryObjectReferences339

[SRC]context.billToCountryGeoId = postalAddress.countryGeoId

[MSG]The code could be more concise by using a with() or identity() block

EditBillingAddress.groovyUnnecessaryGString340

[SRC]billToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString340

[SRC]billToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString344

[SRC]billToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString344

[SRC]billToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString350

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString350

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString350

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString350

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString350

[SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst()

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString352

[SRC]creditCard = paymentMethod.getRelatedOne("CreditCard", false)

[MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString353

[SRC]context.paymentMethodTypeId = "CREDIT_CARD"

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString364

[SRC]context.useShippingAddressForBilling = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString369

[SRC]billToContactMechList = ContactHelper.getContactMech(par..BER", false)

[MSG]The String 'PHONE_BILLING' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString369

[SRC]billToContactMechList = ContactHelper.getContactMech(par..BER", false)

[MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString371

[SRC]billToTelecomNumber = (EntityUtil.getFirst(billToContact..ber", false)

[MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString372

[SRC]pcm = EntityUtil.getFirst(billToTelecomNumber.getRelated..ull, false))

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString377

[SRC]billToFaxNumberList = ContactHelper.getContactMech(party..BER", false)

[MSG]The String 'FAX_BILLING' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString377

[SRC]billToFaxNumberList = ContactHelper.getContactMech(party..BER", false)

[MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString379

[SRC]billToFaxNumber = (EntityUtil.getFirst(billToFaxNumberLi..ber", false)

[MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes

EditBillingAddress.groovyUnnecessaryGString380

[SRC]faxPartyContactMech = EntityUtil.getFirst(billToFaxNumbe..ull, false))

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGroovyImport321

[SRC]import java.util.HashMap

EditContactMech.groovyUnusedImport321

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

EditContactMech.groovyUnusedImport323

[SRC]import org.apache.ofbiz.base.util.UtilHttp

[MSG]The [org.apache.ofbiz.base.util.UtilHttp] import is never referenced

EditContactMech.groovyUnusedImport324

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

EditContactMech.groovyUnnecessaryGString335

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s..ntactMech) {

[MSG]The String 'PARTYMGR' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString335

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s..ntactMech) {

[MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString349

[SRC]contactMechPurposeType = from("ContactMechPurposeType")...).queryOne()

[MSG]The String 'ContactMechPurposeType' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString349

[SRC]contactMechPurposeType = from("ContactMechPurposeType")...).queryOne()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyCouldBeElvis362

[SRC]if (!contactMechData) contactMechData = [:]

[MSG]Code could use elvis operator: contactMechData = contactMechData ?: [:]

EditContactMech.groovyCouldBeElvis367

[SRC]if (!partyContactMechData) partyContactMechData = [:]

[MSG]Code could use elvis operator: partyContactMechData = partyContactMechData ?: [:]

EditContactMech.groovyCouldBeElvis372

[SRC]if (!postalAddressData) postalAddressData = [:]

[MSG]Code could use elvis operator: postalAddressData = postalAddressData ?: [:]

EditContactMech.groovyCouldBeElvis377

[SRC]if (!telecomNumberData) telecomNumberData = [:]

[MSG]Code could use elvis operator: telecomNumberData = telecomNumberData ?: [:]

EditContactMech.groovyUnnecessaryGString382

[SRC]geoValue = from("Geo").where("geoId", parameters.country..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString382

[SRC]geoValue = from("Geo").where("geoId", parameters.country..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString387

[SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString387

[SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString394

[SRC]geoValue = from("Geo").where("geoId", parameters.statePr..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString394

[SRC]geoValue = from("Geo").where("geoId", parameters.statePr..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString399

[SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditContactMech.groovyUnnecessaryGString399

[SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyNoWildcardImports321

[SRC]import java.util.*

[MSG]Wildcard (star) import

EditDailyHourReport.groovyUnnecessaryGroovyImport321

[SRC]import java.util.*

EditDailyHourReport.groovyNoWildcardImports322

[SRC]import java.lang.*

[MSG]Wildcard (star) import

EditDailyHourReport.groovyUnnecessaryGroovyImport322

[SRC]import java.lang.*

EditDailyHourReport.groovyUnnecessaryGString333

[SRC]uiLabelMap = UtilProperties.getResourceBundleMap("scrumU..ls", locale)

[MSG]The String 'scrumUiLabels' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyCouldBeElvis335

[SRC]if (!partyId) {

[MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId

EditDailyHourReport.groovyUnnecessaryGString343

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString343

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAfterComma347

[SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3)

[MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString349

[SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek),

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString350

[SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek),

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString351

[SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId)

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString353

[SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundMapEntryColon357

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovySpaceAroundMapEntryColon357

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString357

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString357

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString359

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString359

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString368

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString368

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString370

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString370

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString370

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString370

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundMapEntryColon376

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString376

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundMapEntryColon377

[SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString377

[SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator382

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator383

[SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyIndentation393

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The statement on line 93 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyUnnecessaryGString393

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation394

[SRC]if (entryWorkEffort) {

[MSG]The statement on line 94 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation395

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyUnnecessaryGString395

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation396

[SRC]pHours = 0.00

[MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation397

[SRC]plannedHours.each { plannedHour ->

[MSG]The statement on line 97 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3102

[SRC]estimatedHour = 0.00

[MSG]The statement on line 102 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyTrailingWhitespace3103

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyIndentation3104

[SRC]estimatedMilliSeconds = entryWorkEffort.estimatedMilliSeconds

[MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3105

[SRC]if (estimatedMilliSeconds > 0)

[MSG]The statement on line 105 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyTrailingWhitespace3105

[SRC]if (estimatedMilliSeconds > 0)

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovySpaceAroundOperator3106

[SRC]estimatedHour = estimatedMilliSeconds/3600000

[MSG]The operator "/" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3106

[SRC]estimatedHour = estimatedMilliSeconds/3600000

[MSG]The operator "/" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyIndentation3107

[SRC]entry.plannedHours = estimatedHour

[MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3109

[SRC]planHours = 0.0

[MSG]The statement on line 109 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3110

[SRC]planHours = lastTimeEntry.planHours

[MSG]The statement on line 110 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The statement on line 111 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyUnnecessaryGString3111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3111

[SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3112

[SRC]if (lastTimeEntryOfTasks.size() != 0) lastTimeEntry = la..ryOfTasks[0]

[MSG]The statement on line 112 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3113

[SRC]if (planHours < 1) {

[MSG]The statement on line 113 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3114

[SRC]planHours = estimatedHour

[MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyIndentation3116

[SRC]entry.planHours = lastTimeEntry.planHours

[MSG]The statement on line 116 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3117

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The statement on line 117 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyUnnecessaryGString3117

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3118

[SRC]aHours = 0.00

[MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3119

[SRC]actualHours.each { actualHour ->

[MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3124

[SRC]entry.actualHours = aHours

[MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3126

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The statement on line 126 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovySpaceAroundMapEntryColon3126

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3126

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3126

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3127

[SRC]if (workEffortPartyAssigns) {

[MSG]The statement on line 127 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3128

[SRC]workEffortPartyAssign = workEffortPartyAssigns[0]

[MSG]The statement on line 128 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyIndentation3129

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The statement on line 129 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyUnnecessaryGString3129

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3130

[SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId

[MSG]The statement on line 130 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyIndentation3131

[SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The statement on line 131 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyUnnecessaryGString3131

[SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The String 'SCAS_COMPLETED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3132

[SRC]entry.checkComplete = "Y"

[MSG]The statement on line 132 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21

EditDailyHourReport.groovyUnnecessaryGString3132

[SRC]entry.checkComplete = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyBlockEndsWithBlankLine3133

[MSG]Code block ends with a blank line.

EditDailyHourReport.groovyTrailingWhitespace3133

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyIndentation3136

[SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) {

[MSG]The statement on line 136 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyUnnecessaryGString3136

[SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) {

[MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3137

[SRC]entry.checkComplete = "Y"

[MSG]The statement on line 137 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21

EditDailyHourReport.groovyUnnecessaryGString3137

[SRC]entry.checkComplete = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3142

[SRC]entry.workEffortId = entryWorkEffort.workEffortId

[MSG]The statement on line 142 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3143

[SRC]entry.workEffortName = entryWorkEffort.workEffortName

[MSG]The statement on line 143 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The statement on line 144 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovySpaceAfterComma3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundMapEntryColon3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovySpaceAroundMapEntryColon3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3144

[SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3145

[SRC]entry.phaseId = result.phaseId

[MSG]The statement on line 145 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyIndentation3146

[SRC]entry.phaseName = result.phaseName

[MSG]The statement on line 146 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyIndentation3147

[SRC]entry.projectId = result.projectId

[MSG]The statement on line 147 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyIndentation3148

[SRC]entry.projectName = result.projectName

[MSG]The statement on line 148 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyIndentation3149

[SRC]entry.taskWbsId = result.taskWbsId

[MSG]The statement on line 149 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyBlockEndsWithBlankLine3150

[MSG]Code block ends with a blank line.

EditDailyHourReport.groovyIndentation3152

[SRC]entry.acualTotal = taskTotal

[MSG]The statement on line 152 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3153

[SRC]entry.planTotal = planTotal

[MSG]The statement on line 153 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3155

[SRC]if ("Y" != entry.checkComplete) {

[MSG]The statement on line 155 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyUnnecessaryGString3155

[SRC]if ("Y" != entry.checkComplete) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3156

[SRC]if (aHours > 0.00)

[MSG]The statement on line 156 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3159

[SRC]entries.add(entry)

[MSG]The statement on line 159 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditDailyHourReport.groovyIndentation3162

[SRC]taskTotal = 0.00

[MSG]The statement on line 162 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3163

[SRC]planTotal = 0.00

[MSG]The statement on line 163 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3164

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The statement on line 164 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovySpaceAroundMapEntryColon3164

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3164

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3167

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3167

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3167

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3167

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3171

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3171

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyIndentation3179

[SRC]retrieveWorkEffortData()

[MSG]The statement on line 179 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3182

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The String 'd' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3185

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The String 'd0' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3186

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The String 'd1' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3187

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The String 'd2' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3188

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The String 'd3' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3189

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The String 'd4' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3190

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The String 'd5' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3191

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The String 'd6' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3195

[SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000)

[MSG]The String 'pd' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3198

[SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours

[MSG]The String 'pd0' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3199

[SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours

[MSG]The String 'pd1' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3200

[SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours

[MSG]The String 'pd2' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3201

[SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours

[MSG]The String 'pd3' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3202

[SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours

[MSG]The String 'pd4' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3203

[SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours

[MSG]The String 'pd5' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3204

[SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours

[MSG]The String 'pd6' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyBlockEndsWithBlankLine3206

[MSG]Code block ends with a blank line.

EditDailyHourReport.groovyIndentation3212

[SRC]if (lastEmplLeaveEntry) {

[MSG]The statement on line 212 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3214

[SRC]result = runService('getPartyLeaveHoursForDate',

[MSG]The statement on line 214 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyTrailingWhitespace3214

[SRC]result = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3215

[SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3215

[SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3215

[SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3215

[SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3216

[SRC]if (result.hours) {

[MSG]The statement on line 216 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3217

[SRC]leaveEntry.plannedHours = result.hours

[MSG]The statement on line 217 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyIndentation3218

[SRC]leaveEntry.planHours = result.hours

[MSG]The statement on line 218 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyInvertedCondition3220

[SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) {

[MSG]LEAVE_APPROVED is a constant expression on the left side of a compare equals operation

EditDailyHourReport.groovyIndentation3220

[SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) {

[MSG]The statement on line 220 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyUnnecessaryGString3220

[SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) {

[MSG]The String 'LEAVE_APPROVED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3221

[SRC]leaveEntry.checkComplete = "Y"

[MSG]The statement on line 221 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditDailyHourReport.groovyUnnecessaryGString3221

[SRC]leaveEntry.checkComplete = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3223

[SRC]leaveEntry.partyId = lastEmplLeaveEntry.partyId

[MSG]The statement on line 223 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3224

[SRC]leaveEntry.leaveTypeId = lastEmplLeaveEntry.leaveTypeId

[MSG]The statement on line 224 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3225

[SRC]leaveEntry.leavefromDate = lastEmplLeaveEntry.fromDate

[MSG]The statement on line 225 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3226

[SRC]leaveEntry.leavethruDate = lastEmplLeaveEntry.thruDate

[MSG]The statement on line 226 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3227

[SRC]leaveEntry.description = lastEmplLeaveEntry.description

[MSG]The statement on line 227 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyIndentation3229

[SRC]leaveEntry.acualTotal = leaveTaskTotal

[MSG]The statement on line 229 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3230

[SRC]leaveEntry.planHours = leavePlanTotal

[MSG]The statement on line 230 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3231

[SRC]leaveEntry.actualHours = leaveTaskTotal

[MSG]The statement on line 231 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3233

[SRC]entries.add(leaveEntry)

[MSG]The statement on line 233 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3235

[SRC]leaveTaskTotal = 0.00

[MSG]The statement on line 235 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3236

[SRC]leavePlanTotal = 0.00

[MSG]The statement on line 236 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovyIndentation3237

[SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId]

[MSG]The statement on line 237 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditDailyHourReport.groovySpaceAroundMapEntryColon3237

[SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3237

[SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3242

[SRC]leaveExprs.add(EntityCondition.makeCondition("fromDate",..t.fromDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3243

[SRC]leaveExprs.add(EntityCondition.makeCondition("fromDate",..t.thruDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3244

[SRC]leaveExprs.add(EntityCondition.makeCondition("partyId", ..S, partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3245

[SRC]emplLeave = from("EmplLeave").where(leaveExprs).cursorSc..ryIterator()

[MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3248

[SRC]if (emplLeaveEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3248

[SRC]if (emplLeaveEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyTrailingWhitespace3251

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyTrailingWhitespace3253

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyIndentation3257

[SRC]retrieveEmplLeaveData()

[MSG]The statement on line 257 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditDailyHourReport.groovyTrailingWhitespace3259

[SRC]resultHours = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3260

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3260

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3260

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3260

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyTrailingWhitespace3261

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3263

[SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000)

[MSG]The String 'd' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyTrailingWhitespace3264

[SRC]resultHours = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3265

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3265

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3265

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3265

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3268

[SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours

[MSG]The String 'd0' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3269

[SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours

[MSG]The String 'd1' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3270

[SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours

[MSG]The String 'd2' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3271

[SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours

[MSG]The String 'd3' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3272

[SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours

[MSG]The String 'd4' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3273

[SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours

[MSG]The String 'd5' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3274

[SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours

[MSG]The String 'd6' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3278

[SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000)

[MSG]The String 'pd' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyTrailingWhitespace3279

[SRC]resultPlanHours = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3280

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3280

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3280

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3280

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3283

[SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours

[MSG]The String 'pd0' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3284

[SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours

[MSG]The String 'pd1' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3285

[SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours

[MSG]The String 'pd2' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3286

[SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours

[MSG]The String 'pd3' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3287

[SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours

[MSG]The String 'pd4' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3288

[SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours

[MSG]The String 'pd5' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3289

[SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours

[MSG]The String 'pd6' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3292

[SRC]leaveEntry.rateTypeId = "STANDARD"

[MSG]The String 'STANDARD' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3306

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3307

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3307

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAroundMapEntryColon3308

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3308

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundMapEntryColon3314

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3314

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryObjectReferences3323

[SRC]entry.pd1 = pDay1Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3324

[SRC]entry.pd2 = pDay2Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3325

[SRC]entry.pd3 = pDay3Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3326

[SRC]entry.pd4 = pDay4Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3327

[SRC]entry.pd5 = pDay5Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3328

[SRC]entry.pd6 = pDay6Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3329

[SRC]entry.phaseName = uiLabelMap.ScrumTotals

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryGString3330

[SRC]entry.workEffortId = "Totals"

[MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryObjectReferences3330

[SRC]entry.workEffortId = "Totals"

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryObjectReferences3331

[SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total

[MSG]The code could be more concise by using a with() or identity() block

EditDailyHourReport.groovyUnnecessaryGString3336

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3336

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3336

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3342

[SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.fromDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3343

[SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.thruDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3344

[SRC]leaveExprsList.add(EntityCondition.makeCondition("partyI..S, partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3345

[SRC]emplLeaveList = from("EmplLeave").where(leaveExprsList)...ryIterator()

[MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyTrailingWhitespace3347

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyTrailingWhitespace3350

[SRC]resultHour = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3351

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3351

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3351

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3351

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3360

[SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundOperator3375

[SRC]taskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3375

[SRC]taskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The parameter taskActualStartDate DESC in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The map entry taskCurrentStatusId:STS_CREATED within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundMapEntryColon3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The colon for the literal Map entry for key [sprintTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovySpaceAroundMapEntryColon3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The colon for the literal Map entry for key [taskCurrentStatusId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'projectName ASC' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3378

[SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList()

[MSG]The String 'taskActualStartDate DESC' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3380

[SRC]userLoginId = userLogin.partyId

[MSG]The statement on line 380 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [23, 27, 31] columns, but was 1

EditDailyHourReport.groovyUnnecessaryGString3382

[SRC]workEffortList = from("WorkEffortAndProduct").where("wor...queryList()

[MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3382

[SRC]workEffortList = from("WorkEffortAndProduct").where("wor...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyNoTabCharacter3384

[MSG]The tab character is not allowed in source files

EditDailyHourReport.groovyTrailingWhitespace3384

[SRC]

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyUnnecessaryGString3385

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3385

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3385

[SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3390

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3390

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3395

[SRC]backlogStatusId = projectAndTaskMap.backlogStatusId

[MSG]The statement on line 395 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 4

EditDailyHourReport.groovyIndentation3396

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]The statement on line 396 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 4

EditDailyHourReport.groovyUnnecessaryGString3396

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3396

[SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) {

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3397

[SRC]projectSprintBacklogAndTaskList.add(projectAndTaskMap)

[MSG]The statement on line 397 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 5

EditDailyHourReport.groovyIndentation3400

[SRC]projectSprintBacklogAndTaskList.add(0,projectAndTaskMap)

[MSG]The statement on line 400 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 6

EditDailyHourReport.groovySpaceAfterComma3400

[SRC]projectSprintBacklogAndTaskList.add(0,projectAndTaskMap)

[MSG]The parameter projectAndTaskMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3406

[SRC]unplanList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAroundOperator3406

[SRC]unplanList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The parameter statusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3409

[SRC]custRequestList = from("CustRequest").where("custRequest...queryList()

[MSG]The String 'custRequestDate DESC' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3412

[SRC]custRequestItemList = custRequestMap.getRelated("CustReq..null, false)

[MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3413

[SRC]custRequestItem =

[MSG]The statement on line 413 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [13, 17, 21] or one of [28, 32, 36] columns, but was 4

EditDailyHourReport.groovyTrailingWhitespace3413

[SRC]custRequestItem =

[MSG]Line ends with whitespace characters

EditDailyHourReport.groovyIndentation3415

[SRC]product = from("Product").where("productId", productOut).queryOne()

[MSG]The statement on line 415 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [13, 17, 21] or one of [28, 32, 36] columns, but was 4

EditDailyHourReport.groovyUnnecessaryGString3415

[SRC]product = from("Product").where("productId", productOut).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3415

[SRC]product = from("Product").where("productId", productOut).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3419

[SRC]custRequestWorkEffortList = from("CustRequestWorkEffort"...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3419

[SRC]custRequestWorkEffortList = from("CustRequestWorkEffort"...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3421

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3421

[SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3426

[SRC]workEffortMap = from("WorkEffort").where("workEffortId",..).queryOne()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3426

[SRC]workEffortMap = from("WorkEffort").where("workEffortId",..).queryOne()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3431

[SRC]result.custRequestTypeId = custRequestMap.custRequestTypeId

[MSG]The statement on line 431 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 8

EditDailyHourReport.groovyIndentation3432

[SRC]result.taskTypeId = workEffortMap.workEffortTypeId

[MSG]The statement on line 432 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 8

EditDailyHourReport.groovySpaceAfterComma3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element sprintName within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3441

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3443

[SRC]blTypeId = projectSprintBacklogAndTaskMap.custRequestTypeId

[MSG]The statement on line 443 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2

EditDailyHourReport.groovyIndentation3444

[SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){

[MSG]The statement on line 444 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2

EditDailyHourReport.groovySpaceBeforeOpeningBrace3444

[SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3444

[SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3445

[SRC]taskList.add(projectSprintBacklogAndTaskMap)

[MSG]The statement on line 445 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 3

EditDailyHourReport.groovySpaceAfterComma3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element sprintName within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String '-projectName' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3448

[SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"])

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3450

[SRC]blTypeId = projectSprintBacklogAndTaskMap.custRequestTypeId

[MSG]The statement on line 450 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2

EditDailyHourReport.groovyInvertedCondition3451

[SRC]if ("RF_PROD_BACKLOG" == blTypeId){

[MSG]RF_PROD_BACKLOG is a constant expression on the left side of a compare equals operation

EditDailyHourReport.groovyIndentation3451

[SRC]if ("RF_PROD_BACKLOG" == blTypeId){

[MSG]The statement on line 451 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2

EditDailyHourReport.groovySpaceBeforeOpeningBrace3451

[SRC]if ("RF_PROD_BACKLOG" == blTypeId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3451

[SRC]if ("RF_PROD_BACKLOG" == blTypeId){

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyIndentation3452

[SRC]taskList.add(0,projectSprintBacklogAndTaskMap)

[MSG]The statement on line 452 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 3

EditDailyHourReport.groovySpaceAfterComma3452

[SRC]taskList.add(0,projectSprintBacklogAndTaskMap)

[MSG]The parameter projectSprintBacklogAndTaskMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The parameter [-productName, -taskTypeId, custRequestId] in the call to method sortMaps within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovySpaceAfterComma3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditDailyHourReport.groovyUnnecessaryGString3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The String '-productName' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovyUnnecessaryGString3455

[SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"])

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

EditDailyHourReport.groovySpaceAroundClosureArrow3456

[SRC]unplanList.each { unplanMap->

[MSG]The closure arrow (->) within class org.apache.ofbiz.scrum.None is not surrounded by a space or whitespace

EditDailyHourReport.groovyIndentation3457

[SRC]taskList.add(0,unplanMap)

[MSG]The statement on line 457 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [15, 19, 23] columns, but was 3

EditDailyHourReport.groovySpaceAfterComma3457

[SRC]taskList.add(0,unplanMap)

[MSG]The parameter unplanMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditEmailAndTelecomNumber.groovyUnnecessaryGString325

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString327

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString327

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString333

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..ER", false))

[MSG]The String 'PRIMARY_PHONE' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString333

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..ER", false))

[MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString335

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString335

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString335

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

EditEmailAndTelecomNumber.groovyUnnecessaryGString337

[SRC]telecomNumber = partyContactMech.getRelatedOne("TelecomNumber", false)

[MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes

EditMaint.groovyUnnecessaryGString329

[SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst()

[MSG]The String 'FixedAssetMaint' can be wrapped in single quotes instead of double quotes

EditMaint.groovyUnnecessaryGString329

[SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst()

[MSG]The String 'scheduleWorkEffortId' can be wrapped in single quotes instead of double quotes

EditPaymentMethod.groovyUnnecessaryGroovyImport321

[SRC]import java.util.HashMap

EditPaymentMethod.groovyUnusedImport321

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

EditPaymentMethod.groovyUnusedImport322

[SRC]import org.apache.ofbiz.base.util.UtilHttp

[MSG]The [org.apache.ofbiz.base.util.UtilHttp] import is never referenced

EditPaymentMethod.groovyUnnecessaryGString335

[SRC]context.put("postalAddressInfos", postalAddressInfos)

[MSG]The String 'postalAddressInfos' can be wrapped in single quotes instead of double quotes

EditPaymentMethod.groovyCouldBeElvis342

[SRC]if (!creditCardData) creditCardData = [:]

[MSG]Code could use elvis operator: creditCardData = creditCardData ?: [:]

EditPaymentMethod.groovyCouldBeElvis347

[SRC]if (!giftCardData) giftCardData = [:]

[MSG]Code could use elvis operator: giftCardData = giftCardData ?: [:]

EditPaymentMethod.groovyCouldBeElvis352

[SRC]if (!eftAccountData) eftAccountData = [:]

[MSG]Code could use elvis operator: eftAccountData = eftAccountData ?: [:]

EditPaymentMethod.groovyCouldBeElvis357

[SRC]if (!paymentMethodData) paymentMethodData = [:]

[MSG]Code could use elvis operator: paymentMethodData = paymentMethodData ?: [:]

EditPaymentMethod.groovyUnnecessaryGString361

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) {

[MSG]The String 'PARTYMGR' can be wrapped in single quotes instead of double quotes

EditPaymentMethod.groovyUnnecessaryGString361

[SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) {

[MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes

EditPerson.groovyUnnecessaryGroovyImport321

[SRC]import java.util.HashMap

EditPerson.groovyUnusedImport321

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

EditPerson.groovyCouldBeElvis331

[SRC]if (!personData) personData = [:]

[MSG]Code could use elvis operator: personData = personData ?: [:]

EditShippingAddress.groovyUnnecessaryGString325

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString327

[SRC]if ("PERSON".equals(party.partyTypeId)) {

[MSG]The String 'PERSON' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString328

[SRC]person = from("Person").where("partyId", party.partyId).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString328

[SRC]person = from("Person").where("partyId", party.partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString332

[SRC]group = from("PartyGroup").where("partyId", party.partyId).queryOne()

[MSG]The String 'PartyGroup' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString332

[SRC]group = from("PartyGroup").where("partyId", party.partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString334

[SRC]context.lastName = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString337

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString337

[SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false))

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString339

[SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryObjectReferences349

[SRC]context.shipToCountryGeoId = postalAddress.countryGeoId

[MSG]The code could be more concise by using a with() or identity() block

EditShippingAddress.groovyUnnecessaryGString350

[SRC]shipToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString350

[SRC]shipToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString354

[SRC]shipToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne()

[MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString354

[SRC]shipToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne()

[MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString362

[SRC]shipToContactMechList = ContactHelper.getContactMech(par..BER", false)

[MSG]The String 'PHONE_SHIPPING' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString362

[SRC]shipToContactMechList = ContactHelper.getContactMech(par..BER", false)

[MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString364

[SRC]shipToTelecomNumber = (EntityUtil.getFirst(shipToContact..ber", false)

[MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString365

[SRC]pcm = EntityUtil.getFirst(shipToTelecomNumber.getRelated..ull, false))

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString370

[SRC]shipToFaxNumberList = ContactHelper.getContactMech(party..BER", false)

[MSG]The String 'FAX_SHIPPING' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString370

[SRC]shipToFaxNumberList = ContactHelper.getContactMech(party..BER", false)

[MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString372

[SRC]shipToFaxNumber = (EntityUtil.getFirst(shipToFaxNumberLi..ber", false)

[MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes

EditShippingAddress.groovyUnnecessaryGString373

[SRC]faxPartyContactMech = EntityUtil.getFirst(shipToFaxNumbe..ull, false))

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyNoWildcardImports321

[SRC]import java.util.*

[MSG]Wildcard (star) import

EditShoppingList.groovyUnnecessaryGroovyImport321

[SRC]import java.util.*

EditShoppingList.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.order.shoppingcart.shipping.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.order.shoppinglist.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports329

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

EditShoppingList.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.service.calendar.*

[MSG]Wildcard (star) import

EditShoppingList.groovyUnusedImport334

[SRC]import org.apache.ofbiz.widget.renderer.VisualTheme

[MSG]The [org.apache.ofbiz.widget.renderer.VisualTheme] import is never referenced

EditShoppingList.groovyTrailingWhitespace336

[SRC]if (userLogin)

[MSG]Line ends with whitespace characters

EditShoppingList.groovyUnnecessaryGString338

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString354

[SRC]exprList = [EntityCondition.makeCondition("partyId", Ent..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString355

[SRC]EntityCondition.makeCondition("listName", EntityOperator..auto-save")]

[MSG]The String 'listName' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString355

[SRC]EntityCondition.makeCondition("listName", EntityOperator..auto-save")]

[MSG]The String 'auto-save' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString357

[SRC]allShoppingLists = from("ShoppingList").where(exprList)....queryList()

[MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString357

[SRC]allShoppingLists = from("ShoppingList").where(exprList)....queryList()

[MSG]The String 'listName' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundMapEntryColon358

[SRC]shoppingLists = EntityUtil.filterByAnd(allShoppingLists,..tId : null])

[MSG]The colon for the literal Map entry for key [parentShoppingListId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovyUnnecessaryGString363

[SRC]shoppingListTypes = from("ShoppingListType").orderBy("de...queryList()

[MSG]The String 'ShoppingListType' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString363

[SRC]shoppingListTypes = from("ShoppingListType").orderBy("de...queryList()

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString368

[SRC]shoppingListId = parameterMap.shoppingListId ?: request...pingListId")

[MSG]The String 'shoppingListId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString368

[SRC]shoppingListId = parameterMap.shoppingListId ?: request...pingListId")

[MSG]The String 'currentShoppingListId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString378

[SRC]session.setAttribute("currentShoppingListId", shoppingListId)

[MSG]The String 'currentShoppingListId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString382

[SRC]shoppingList = from("ShoppingList").where("shoppingListI..).queryOne()

[MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString382

[SRC]shoppingList = from("ShoppingList").where("shoppingListI..).queryOne()

[MSG]The String 'shoppingListId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString389

[SRC]shoppingListItems = shoppingList.getRelated("ShoppingLis.. null, true)

[MSG]The String 'ShoppingListItem' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString395

[SRC]product = shoppingListItem.getRelatedOne("Product", true)

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundMapEntryColon397

[SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin,

[MSG]The colon for the literal Map entry for key [product] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon397

[SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin,

[MSG]The colon for the literal Map entry for key [quantity] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon397

[SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin,

[MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon397

[SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin,

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovyUnnecessaryGString3102

[SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) {

[MSG]The String 'ASSET_USAGE' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3102

[SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) {

[MSG]The String 'ASSET_USAGE_OUT_IN' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundOperator3127

[SRC]totalPrice *= (rentalValue/100 * reservLength)

[MSG]The operator "/" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a space or whitespace

EditShoppingList.groovySpaceAroundOperator3127

[SRC]totalPrice *= (rentalValue/100 * reservLength)

[MSG]The operator "/" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not followed by a space or whitespace

EditShoppingList.groovyUnnecessaryGString3132

[SRC]if ("Y".equals(product.isVirtual)) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundMapEntryColon3133

[SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true)

[MSG]The colon for the literal Map entry for key [productAssocTypeId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovyUnnecessaryGString3133

[SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true)

[MSG]The String 'MainProductAssoc' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3133

[SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true)

[MSG]The String 'PRODUCT_VARIANT' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3133

[SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true)

[MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundOperator3146

[SRC]viewSize = parameters.VIEW_SIZE ? Integer.valueOf(parame..ewSize()?:20

[MSG]The operator "?:" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a space or whitespace

EditShoppingList.groovySpaceAroundOperator3146

[SRC]viewSize = parameters.VIEW_SIZE ? Integer.valueOf(parame..ewSize()?:20

[MSG]The operator "?:" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not followed by a space or whitespace

EditShoppingList.groovyUnnecessaryGString3161

[SRC]shoppingListType = shoppingList.getRelatedOne("ShoppingL..ype", false)

[MSG]The String 'ShoppingListType' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3165

[SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList()

[MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3165

[SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3165

[SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList()

[MSG]The String 'parentShoppingListId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3165

[SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList()

[MSG]The String 'listName' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovySpaceAroundMapEntryColon3172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The colon for the literal Map entry for key [shoppingListId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon3172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The colon for the literal Map entry for key [prodCatalogId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon3172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The colon for the literal Map entry for key [webSiteId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon3172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovySpaceAroundMapEntryColon3172

[SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId])

[MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S]

EditShoppingList.groovyUnnecessaryGString3187

[SRC]parentShoppingList = shoppingList.getRelatedOne("ParentS..ist", false)

[MSG]The String 'ParentShoppingList' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3193

[SRC]if ("SLT_AUTO_REODR".equals(shoppingListType?.shoppingListTypeId)) {

[MSG]The String 'SLT_AUTO_REODR' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3194

[SRC]recurrenceVo = shoppingList.getRelatedOne("RecurrenceInfo", false)

[MSG]The String 'RecurrenceInfo' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3201

[SRC]context.chosenShippingMethod = shoppingList.shipmentMeth..rrierPartyId

[MSG]The String '@' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3202

[SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false)

[MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3202

[SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false)

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3203

[SRC]context.paymentMethodList = EntityUtil.filterByDate(part..d"], false))

[MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3203

[SRC]context.paymentMethodList = EntityUtil.filterByDate(part..d"], false))

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3205

[SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne()

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3205

[SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyUnnecessaryGString3206

[SRC]Debug.log("SL - address : " + shipAddress)

[MSG]The String 'SL - address : ' can be wrapped in single quotes instead of double quotes

EditShoppingList.groovyCouldBeElvis3223

[SRC]if (!lastSlOrderDate) {

[MSG]Code could use elvis operator: lastSlOrderDate = lastSlOrderDate ?: recurrenceVo.startDateTime

EditSurveyResponse.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.content.survey.SurveyWrapper

EditWeekTimesheet.groovyNoWildcardImports321

[SRC]import java.util.*

[MSG]Wildcard (star) import

EditWeekTimesheet.groovyUnnecessaryGroovyImport321

[SRC]import java.util.*

EditWeekTimesheet.groovyNoWildcardImports322

[SRC]import java.lang.*

[MSG]Wildcard (star) import

EditWeekTimesheet.groovyUnnecessaryGroovyImport322

[SRC]import java.lang.*

EditWeekTimesheet.groovyUnnecessaryGString330

[SRC]uiLabelMap = UtilProperties.getResourceBundleMap("scrumU..ls", locale)

[MSG]The String 'scrumUiLabels' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyCouldBeElvis333

[SRC]if (!partyId) {

[MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId

EditWeekTimesheet.groovyUnnecessaryGString341

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString341

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAfterComma345

[SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3)

[MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovyUnnecessaryGString347

[SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek),

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString348

[SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek),

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString349

[SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId)

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString351

[SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon355

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovySpaceAroundMapEntryColon355

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString355

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString355

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString357

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString357

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString366

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString366

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString368

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString368

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString368

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString368

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon374

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString374

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator376

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovyIndentation384

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyUnnecessaryGString384

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation385

[SRC]if (entryWorkEffort) {

[MSG]The statement on line 85 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation386

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyUnnecessaryGString386

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation387

[SRC]pHours = 0.00

[MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation388

[SRC]plannedHours.each { plannedHour ->

[MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation393

[SRC]entry.plannedHours = pHours

[MSG]The statement on line 93 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation394

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The statement on line 94 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyUnnecessaryGString394

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation395

[SRC]aHours = 0.00

[MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation396

[SRC]actualHours.each { actualHour ->

[MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3101

[SRC]entry.actualHours = aHours

[MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3103

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The statement on line 103 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAroundMapEntryColon3103

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3103

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3103

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3104

[SRC]if (workEffortPartyAssigns) {

[MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3105

[SRC]workEffortPartyAssign = workEffortPartyAssigns[0]

[MSG]The statement on line 105 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyIndentation3106

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The statement on line 106 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyUnnecessaryGString3106

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3107

[SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId

[MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyIndentation3108

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The statement on line 108 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyUnnecessaryGString3108

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The String 'PAS_COMPLETED' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3109

[SRC]entry.checkComplete = "Y"

[MSG]The statement on line 109 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21

EditWeekTimesheet.groovyUnnecessaryGString3109

[SRC]entry.checkComplete = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3114

[SRC]entry.workEffortId = entryWorkEffort.workEffortId

[MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3115

[SRC]entry.workEffortName = entryWorkEffort.workEffortName

[MSG]The statement on line 115 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The statement on line 116 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAfterComma3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundMapEntryColon3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovySpaceAroundMapEntryColon3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3116

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3117

[SRC]entry.sprintId = result.phaseId

[MSG]The statement on line 117 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3118

[SRC]entry.sprintName = result.phaseName

[MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3119

[SRC]entry.projectId = result.projectId

[MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3120

[SRC]entry.projectName = result.projectName

[MSG]The statement on line 120 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3121

[SRC]entry.taskWbsId = result.taskWbsId

[MSG]The statement on line 121 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyBlockEndsWithBlankLine3122

[MSG]Code block ends with a blank line.

EditWeekTimesheet.groovyIndentation3124

[SRC]entry.total = taskTotal

[MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3126

[SRC]entries.add(entry)

[MSG]The statement on line 126 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3128

[SRC]taskTotal = 0.00

[MSG]The statement on line 128 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3129

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The statement on line 129 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovySpaceAroundMapEntryColon3129

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3129

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3132

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3132

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3132

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3132

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator3136

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3136

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovyIndentation3144

[SRC]retrieveWorkEffortData()

[MSG]The statement on line 144 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovyUnnecessaryGString3147

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The String 'd' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3150

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The String 'd0' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3151

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The String 'd1' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3152

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The String 'd2' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3153

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The String 'd3' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3154

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The String 'd4' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3155

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The String 'd5' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3156

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The String 'd6' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3168

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator3169

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3169

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundMapEntryColon3170

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3170

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon3176

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3176

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3185

[SRC]entry.workEffortId = "Totals"

[MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryObjectReferences3185

[SRC]entry.workEffortId = "Totals"

[MSG]The code could be more concise by using a with() or identity() block

EditWeekTimesheet.groovyUnnecessaryObjectReferences3186

[SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total

[MSG]The code could be more concise by using a with() or identity() block

EditWeekTimesheet.groovyUnnecessaryGString3191

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3191

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3191

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3196

[SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyConsecutiveBlankLines320

[MSG]File EditWeekTimesheet.groovy has consecutive blank lines

EditWeekTimesheet.groovyUnnecessaryGString329

[SRC]uiLabelMap = UtilProperties.getResourceBundleMap("Projec..ls", locale)

[MSG]The String 'ProjectMgrUiLabels' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyCouldBeElvis332

[SRC]if (!partyId) {

[MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId

EditWeekTimesheet.groovyUnnecessaryGString340

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString340

[SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAfterComma344

[SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3)

[MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovyUnnecessaryGString346

[SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek),

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString347

[SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek),

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString348

[SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId)

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString350

[SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon354

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovySpaceAroundMapEntryColon354

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString354

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString354

[SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString356

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString356

[SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne()

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString365

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString365

[SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString367

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString367

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString367

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString367

[SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList()

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon373

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString373

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator375

[SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovyIndentation383

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The statement on line 83 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyUnnecessaryGString383

[SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false)

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation384

[SRC]if (entryWorkEffort) {

[MSG]The statement on line 84 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation385

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The statement on line 85 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyUnnecessaryGString385

[SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false)

[MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation386

[SRC]pHours = 0.00

[MSG]The statement on line 86 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation387

[SRC]plannedHours.each { plannedHour ->

[MSG]The statement on line 87 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation392

[SRC]entry.plannedHours = pHours

[MSG]The statement on line 92 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation393

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The statement on line 93 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyUnnecessaryGString393

[SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation394

[SRC]aHours = 0.00

[MSG]The statement on line 94 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation395

[SRC]actualHours.each { actualHour ->

[MSG]The statement on line 95 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3100

[SRC]entry.actualHours = aHours

[MSG]The statement on line 100 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3102

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The statement on line 102 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAroundMapEntryColon3102

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3102

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3102

[SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3103

[SRC]if (workEffortPartyAssigns) {

[MSG]The statement on line 103 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3104

[SRC]workEffortPartyAssign = workEffortPartyAssigns[0]

[MSG]The statement on line 104 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyIndentation3105

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The statement on line 105 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyUnnecessaryGString3105

[SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate")

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3106

[SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId

[MSG]The statement on line 106 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyIndentation3107

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The statement on line 107 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17

EditWeekTimesheet.groovyUnnecessaryGString3107

[SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) {

[MSG]The String 'PAS_COMPLETED' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3108

[SRC]entry.checkComplete = "Y"

[MSG]The statement on line 108 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 17 but was 21

EditWeekTimesheet.groovyUnnecessaryGString3108

[SRC]entry.checkComplete = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3113

[SRC]entry.workEffortId = entryWorkEffort.workEffortId

[MSG]The statement on line 113 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3114

[SRC]entry.workEffortName = entryWorkEffort.workEffortName

[MSG]The statement on line 114 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovyIndentation3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The statement on line 115 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAfterComma3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundMapEntryColon3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovySpaceAroundMapEntryColon3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3115

[SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyIndentation3116

[SRC]entry.phaseId = result.phaseId

[MSG]The statement on line 116 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3117

[SRC]entry.phaseName = result.phaseName

[MSG]The statement on line 117 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3118

[SRC]entry.projectId = result.projectId

[MSG]The statement on line 118 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3119

[SRC]entry.projectName = result.projectName

[MSG]The statement on line 119 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyIndentation3120

[SRC]entry.taskWbsId = result.taskWbsId

[MSG]The statement on line 120 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17

EditWeekTimesheet.groovyBlockEndsWithBlankLine3121

[MSG]Code block ends with a blank line.

EditWeekTimesheet.groovyIndentation3123

[SRC]entry.total = taskTotal

[MSG]The statement on line 123 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3125

[SRC]entries.add(entry)

[MSG]The statement on line 125 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3127

[SRC]taskTotal = 0.00

[MSG]The statement on line 127 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovyIndentation3128

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The statement on line 128 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9

EditWeekTimesheet.groovySpaceAroundMapEntryColon3128

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3128

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3131

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3131

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3131

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3131

[SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false)

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator3135

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3135

[SRC]if (timeEntry!=void) {

[MSG]The operator "!=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovyIndentation3143

[SRC]retrieveWorkEffortData()

[MSG]The statement on line 143 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovyUnnecessaryGString3146

[SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000)

[MSG]The String 'd' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3149

[SRC]if ("d0".equals(dayNumber)) day0Total += hours

[MSG]The String 'd0' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3150

[SRC]if ("d1".equals(dayNumber)) day1Total += hours

[MSG]The String 'd1' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3151

[SRC]if ("d2".equals(dayNumber)) day2Total += hours

[MSG]The String 'd2' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3152

[SRC]if ("d3".equals(dayNumber)) day3Total += hours

[MSG]The String 'd3' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3153

[SRC]if ("d4".equals(dayNumber)) day4Total += hours

[MSG]The String 'd4' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3154

[SRC]if ("d5".equals(dayNumber)) day5Total += hours

[MSG]The String 'd5' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3155

[SRC]if ("d6".equals(dayNumber)) day6Total += hours

[MSG]The String 'd6' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3167

[SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) {

[MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundOperator3168

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

EditWeekTimesheet.groovySpaceAroundOperator3168

[SRC]for (c=0; c < 3; c++) { // add empty lines

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

EditWeekTimesheet.groovySpaceAroundMapEntryColon3169

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3169

[SRC]entries.add(["timesheetId" : timesheet.timesheetId])

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovySpaceAroundMapEntryColon3175

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

EditWeekTimesheet.groovyUnnecessaryGString3175

[SRC]entry = ["timesheetId" : timesheet.timesheetId]

[MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3184

[SRC]entry.workEffortId = "Totals"

[MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryObjectReferences3184

[SRC]entry.workEffortId = "Totals"

[MSG]The code could be more concise by using a with() or identity() block

EditWeekTimesheet.groovyUnnecessaryObjectReferences3185

[SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total

[MSG]The code could be more concise by using a with() or identity() block

EditWeekTimesheet.groovyUnnecessaryGString3190

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3190

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3190

[SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList()

[MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes

EditWeekTimesheet.groovyUnnecessaryGString3195

[SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyCouldBeElvis325

[SRC]if (!maintHistSeqId) {

[MSG]Code could use elvis operator: maintHistSeqId = maintHistSeqId ?: parameters.maintHistSeqId

EditWorkEfforts.groovyCouldBeElvis328

[SRC]if (!fixedAssetId) {

[MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: parameters.fixedAssetId

EditWorkEfforts.groovyCouldBeElvis331

[SRC]if (!workEffortId) {

[MSG]Code could use elvis operator: workEffortId = workEffortId ?: parameters.workEffortId

EditWorkEfforts.groovyUnnecessaryGString341

[SRC]workEffort = from("WorkEffort").where("workEffortId", wo..).queryOne()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString341

[SRC]workEffort = from("WorkEffort").where("workEffortId", wo..).queryOne()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyCouldBeElvis343

[SRC]if (!fixedAssetId) {

[MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: workEffort.fixedAssetId

EditWorkEfforts.groovyUnnecessaryGString347

[SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst()

[MSG]The String 'WorkEffortAssoc' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString347

[SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst()

[MSG]The String 'workEffortIdTo' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString350

[SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst()

[MSG]The String 'WorkEffortAssoc' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString350

[SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst()

[MSG]The String 'workEffortIdTo' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyCouldBeElvis355

[SRC]if (!rootWorkEffortId) {

[MSG]Code could use elvis operator: rootWorkEffortId = rootWorkEffortId ?: workEffortId

EditWorkEfforts.groovyUnnecessaryGString360

[SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst()

[MSG]The String 'FixedAssetMaint' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString360

[SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst()

[MSG]The String 'scheduleWorkEffortId' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyCouldBeElvis363

[SRC]if (!fixedAssetId) {

[MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: fixedAssetMaint.fixedAssetId

EditWorkEfforts.groovyUnnecessaryGString370

[SRC]fixedAsset = from("FixedAsset").where("fixedAssetId", fi..).queryOne()

[MSG]The String 'FixedAsset' can be wrapped in single quotes instead of double quotes

EditWorkEfforts.groovyUnnecessaryGString370

[SRC]fixedAsset = from("FixedAsset").where("fixedAssetId", fi..).queryOne()

[MSG]The String 'fixedAssetId' can be wrapped in single quotes instead of double quotes

FilterOrderList.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.order.order.OrderReadHelper

FilterOrderList.groovyImportFromSamePackage323

[SRC]import org.apache.ofbiz.order.order.OrderListState

FindBacklogItem.groovySpaceAroundOperator325

[SRC]productId =parameters.productId

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator326

[SRC]backlogList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator326

[SRC]backlogList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyUnnecessaryGString327

[SRC]custRequestList = from("CustRequestItem").where("product...queryList()

[MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString327

[SRC]custRequestList = from("CustRequestItem").where("product...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator329

[SRC]custRequestId=custRequestListMap.custRequestId

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator329

[SRC]custRequestId=custRequestListMap.custRequestId

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyUnnecessaryGString331

[SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REOPENED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString331

[SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REOPENED"))

[MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString332

[SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REVIEWED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString332

[SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REVIEWED"))

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString334

[SRC]andExprs.add(EntityCondition.makeCondition("custRequestI..tRequestId))

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString337

[SRC]orderBy = ["custRequestTypeId"]

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString338

[SRC]productBacklogList = from("CustRequest").where(andExprs)...queryList()

[MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString338

[SRC]productBacklogList = from("CustRequest").where(andExprs)...queryList()

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString341

[SRC]taskBacklogList = from("CustRequestWorkEffort").where("c...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString341

[SRC]taskBacklogList = from("CustRequestWorkEffort").where("c...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator342

[SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyTrailingWhitespace345

[SRC]

[MSG]Line ends with whitespace characters

FindBacklogItem.groovyUnnecessaryGString346

[SRC]task = from("WorkEffort").where("workEffortId", taskId).queryOne()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString346

[SRC]task = from("WorkEffort").where("workEffortId", taskId).queryOne()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyInvertedCondition347

[SRC]if ("SCRUM_TASK_IMPL" == task.workEffortTypeId) {

[MSG]SCRUM_TASK_IMPL is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString347

[SRC]if ("SCRUM_TASK_IMPL" == task.workEffortTypeId) {

[MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator348

[SRC]countImplTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator348

[SRC]countImplTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition349

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyInvertedCondition349

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString349

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString349

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator350

[SRC]countImplTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator350

[SRC]countImplTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition353

[SRC]else if ("SCRUM_TASK_INST" == task.workEffortTypeId) {

[MSG]SCRUM_TASK_INST is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString353

[SRC]else if ("SCRUM_TASK_INST" == task.workEffortTypeId) {

[MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator354

[SRC]countInstallTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator354

[SRC]countInstallTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition355

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyInvertedCondition355

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString355

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString355

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator356

[SRC]countInstallTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator356

[SRC]countInstallTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition359

[SRC]else if ("SCRUM_TASK_ERROR" == task.workEffortTypeId) {

[MSG]SCRUM_TASK_ERROR is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString359

[SRC]else if ("SCRUM_TASK_ERROR" == task.workEffortTypeId) {

[MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator360

[SRC]countErrTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator360

[SRC]countErrTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition361

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyInvertedCondition361

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString361

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString361

[SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) {

[MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator362

[SRC]countErrTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator362

[SRC]countErrTaskComplete+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyInvertedCondition365

[SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) {

[MSG]SCRUM_TASK_TEST is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyInvertedCondition365

[SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) {

[MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation

FindBacklogItem.groovyUnnecessaryGString365

[SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) {

[MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovyUnnecessaryGString365

[SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) {

[MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes

FindBacklogItem.groovySpaceAroundOperator366

[SRC]countTestTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindBacklogItem.groovySpaceAroundOperator366

[SRC]countTestTask+=1

[MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindBacklogItem.groovyTrailingWhitespace369

[SRC]if ((countImplTask > 0 || countErrTask > 0 || countInsta..TaskComplete

[MSG]Line ends with whitespace characters

FindBacklogItem.groovyUnnecessaryGString377

[SRC]backlogList = UtilMisc.sortMaps(backlogList, ["-custRequestName"])

[MSG]The String '-custRequestName' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString326

[SRC]delegator = request.getAttribute("delegator")

[MSG]The String 'delegator' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString329

[SRC]fieldValue = request.getParameter("exampleFeatureId")

[MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString331

[SRC]andExprs.add(EntityCondition.makeCondition(EntityFunctio..eatureId")),

[MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString332

[SRC]EntityOperator.LIKE, "%" + fieldValue.toUpperCase() + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString332

[SRC]EntityOperator.LIKE, "%" + fieldValue.toUpperCase() + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString337

[SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList()

[MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString337

[SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList()

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString337

[SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList()

[MSG]The String 'ExampleFeature' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString337

[SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList()

[MSG]The String '-exampleFeatureId' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString339

[SRC]request.setAttribute("autocompleteOptions", autocompleteOptions)

[MSG]The String 'autocompleteOptions' can be wrapped in single quotes instead of double quotes

FindExampleFeatures.groovyUnnecessaryGString341

[SRC]return "success"

[MSG]The String 'success' can be wrapped in single quotes instead of double quotes

FindGeneric.groovyUnnecessaryGString338

[SRC]context.escapeUrlEncode = "true"

[MSG]The String 'true' can be wrapped in single quotes instead of double quotes

FindMatches.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.party.party.PartyWorker

FindMyExcelImport.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*;

[MSG]Wildcard (star) import

FindMyExcelImport.groovyUnnecessarySemicolon321

[SRC]import org.apache.ofbiz.base.util.*;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImport.groovyUnnecessaryGString323

[SRC]module = "FindMyExcelImport.groovy";

[MSG]The String 'FindMyExcelImport.groovy' can be wrapped in single quotes instead of double quotes

FindMyExcelImport.groovyUnnecessarySemicolon323

[SRC]module = "FindMyExcelImport.groovy";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImport.groovyUnnecessaryGString325

[SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList();

[MSG]The String 'ExcelImportHistory' can be wrapped in single quotes instead of double quotes

FindMyExcelImport.groovyUnnecessaryGString325

[SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList();

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

FindMyExcelImport.groovyUnnecessaryGString325

[SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList();

[MSG]The String 'sequenceNum DESC' can be wrapped in single quotes instead of double quotes

FindMyExcelImport.groovyUnnecessarySemicolon325

[SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList();

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImport.groovyUnnecessarySemicolon326

[SRC]context.data = data;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*;

[MSG]Wildcard (star) import

FindMyExcelImportLog.groovyUnnecessarySemicolon321

[SRC]import org.apache.ofbiz.base.util.*;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGroovyImport322

[SRC]import java.io.FileInputStream;

FindMyExcelImportLog.groovyUnnecessarySemicolon322

[SRC]import java.io.FileInputStream;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString324

[SRC]module = "FindMyExcelImport.groovy";

[MSG]The String 'FindMyExcelImport.groovy' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon324

[SRC]module = "FindMyExcelImport.groovy";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString326

[SRC]context.borderStyle = "2px inset /*begin-color ThreeDHig..nd-color*/";

[MSG]The String '2px inset /*begin-color ThreeDHighlight*/#ffffff/*end-color*/' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon326

[SRC]context.borderStyle = "2px inset /*begin-color ThreeDHig..nd-color*/";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString327

[SRC]context.borderSimpleStyle = "2px solid /*begin-color Thr..nd-color*/";

[MSG]The String '2px solid /*begin-color ThreeDFace*/#f0f0f0/*end-color*/' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon327

[SRC]context.borderSimpleStyle = "2px solid /*begin-color Thr..nd-color*/";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString329

[SRC]sequenceNum = request.getParameter("sequenceNum");

[MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon329

[SRC]sequenceNum = request.getParameter("sequenceNum");

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString332

[SRC]context.logFileContent = "No sequenceNum parameter found.";

[MSG]The String 'No sequenceNum parameter found.' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon332

[SRC]context.logFileContent = "No sequenceNum parameter found.";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyTrailingWhitespace333

[SRC]return;

[MSG]Line ends with whitespace characters

FindMyExcelImportLog.groovyUnnecessarySemicolon333

[SRC]return;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString336

[SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne();

[MSG]The String 'ExcelImportHistory' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessaryGString336

[SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne();

[MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessaryGString336

[SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne();

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon336

[SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne();

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString338

[SRC]context.logFileContent = "No import history found.";

[MSG]The String 'No import history found.' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon338

[SRC]context.logFileContent = "No import history found.";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessarySemicolon339

[SRC]return;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString342

[SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log");

[MSG]The String 'runtime/pricat/' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessaryGString342

[SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log");

[MSG]The String '/' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessaryGString342

[SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log");

[MSG]The String '.log' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon342

[SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log");

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString344

[SRC]context.logFileContent = "No log file found.";

[MSG]The String 'No log file found.' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon344

[SRC]context.logFileContent = "No log file found.";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessarySemicolon347

[SRC]FileInputStream fis = new FileInputStream(logFile);

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessarySemicolon348

[SRC]InputStreamReader isr = new InputStreamReader(fis);

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessarySemicolon349

[SRC]BufferedReader br = new BufferedReader(isr);

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessaryGString350

[SRC]logFileContent = "";

[MSG]The String '' can be wrapped in single quotes instead of double quotes

FindMyExcelImportLog.groovyUnnecessarySemicolon350

[SRC]logFileContent = "";

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovySpaceAfterWhile351

[SRC]while((s = br.readLine())!=null){

[MSG]The while keyword within class org.apache.ofbiz.pricat.pricat.None is not followed by a single space

FindMyExcelImportLog.groovySpaceAroundOperator351

[SRC]while((s = br.readLine())!=null){

[MSG]The operator "!=" within class org.apache.ofbiz.pricat.pricat.None is not preceded by a space or whitespace

FindMyExcelImportLog.groovySpaceAroundOperator351

[SRC]while((s = br.readLine())!=null){

[MSG]The operator "!=" within class org.apache.ofbiz.pricat.pricat.None is not followed by a space or whitespace

FindMyExcelImportLog.groovySpaceBeforeOpeningBrace351

[SRC]while((s = br.readLine())!=null){

[MSG]The opening brace for the block in class org.apache.ofbiz.pricat.pricat.None is not preceded by a space or whitespace

FindMyExcelImportLog.groovyUnnecessarySemicolon352

[SRC]logFileContent += s;

[MSG]Semicolons as line endings can be removed safely

FindMyExcelImportLog.groovyUnnecessarySemicolon354

[SRC]context.logFileContent = logFileContent;

[MSG]Semicolons as line endings can be removed safely

FindProductBacklogItem.groovyUnusedImport323

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

FindProductBacklogItem.groovyNoDef327

[SRC]def module = "FindProductBacklogItem.groovy"

[MSG]def for declaration should not be used

FindProductBacklogItem.groovyVariableTypeRequired327

[SRC]def module = "FindProductBacklogItem.groovy"

[MSG]The type is not specified for variable "module"

FindProductBacklogItem.groovyUnnecessaryGString327

[SRC]def module = "FindProductBacklogItem.groovy"

[MSG]The String 'FindProductBacklogItem.groovy' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString334

[SRC]orderBy = "custRequestDate"

[MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString337

[SRC]if ("Y".equals(parameters.noConditionFind)) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovySpaceAfterIf338

[SRC]if(parameters.productId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace338

[SRC]if(parameters.productId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString339

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("...productId))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace341

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterClosingBrace342

[SRC]if(parameters.custRequestTypeId){

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindProductBacklogItem.groovySpaceAfterIf342

[SRC]if(parameters.custRequestTypeId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace342

[SRC]if(parameters.custRequestTypeId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString343

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..uestTypeId))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovySpaceBeforeOpeningBrace344

[SRC]}else{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString346

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..N_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString346

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..N_BACKLOG"))

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString347

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..D_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString347

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..D_BACKLOG"))

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace350

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterClosingBrace351

[SRC]if(parameters.billed){

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindProductBacklogItem.groovySpaceAfterIf351

[SRC]if(parameters.billed){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace351

[SRC]if(parameters.billed){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString352

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..ers.billed))

[MSG]The String 'billed' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovySpaceBeforeOpeningBrace353

[SRC]}else{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString355

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "Y"))

[MSG]The String 'billed' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString355

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "Y"))

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString356

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "N"))

[MSG]The String 'billed' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString356

[SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "N"))

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace359

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf360

[SRC]if(parameters.statusId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace360

[SRC]if(parameters.statusId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString361

[SRC]orderBy = "custSequenceNum"

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString362

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..s.statusId))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace364

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf365

[SRC]if(parameters.parentCustRequestId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace365

[SRC]if(parameters.parentCustRequestId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString366

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tRequestId))

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace368

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf369

[SRC]if(parameters.description){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace369

[SRC]if(parameters.description){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString370

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%"))

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString370

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString370

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace372

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf373

[SRC]if(parameters.fromPartyId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace373

[SRC]if(parameters.fromPartyId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString374

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%"))

[MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString374

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString374

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace376

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceBeforeOpeningBrace377

[SRC]if (parameters.custRequestDate){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString379

[SRC]fromDate = fromDate + " " + "00:00:00.000"

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString379

[SRC]fromDate = fromDate + " " + "00:00:00.000"

[MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString380

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..(fromDate)))

[MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString382

[SRC]thruDate = thruDate + " " + "23:59:59.999"

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString382

[SRC]thruDate = thruDate + " " + "23:59:59.999"

[MSG]The String '23:59:59.999' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString383

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..(thruDate)))

[MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace385

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf386

[SRC]if(parameters.custRequestId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace386

[SRC]if(parameters.custRequestId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString387

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..stId + "%"))

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString387

[SRC]conditionBacklogList.add(EntityCondition.makeCondition("..stId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace389

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovyTrailingWhitespace391

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterIf392

[SRC]if(orConditionsBacklog){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovySpaceBeforeOpeningBrace392

[SRC]if(orConditionsBacklog){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyTrailingWhitespace395

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovyTrailingWhitespace397

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovySpaceAfterComma399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The parameter custRequestTypeId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovySpaceAfterComma399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The parameter productId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovySpaceAfterComma399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The parameter billed in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovySpaceAfterComma399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The parameter custRequestDate in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovySpaceAfterComma399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The parameter fromPartyId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custEstimatedMilliSeconds' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custRequestName' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'billed' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString399

[SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId")

[MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3100

[SRC].from("CustRequestAndCustRequestItem")

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3102

[SRC].orderBy("-custRequestTypeId", orderBy)

[MSG]The String '-custRequestTypeId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyTrailingWhitespace3104

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovyNoDef3105

[SRC]def countSequenceBacklog = 1

[MSG]def for declaration should not be used

FindProductBacklogItem.groovyVariableTypeRequired3105

[SRC]def countSequenceBacklog = 1

[MSG]The type is not specified for variable "countSequenceBacklog"

FindProductBacklogItem.groovyNoDef3106

[SRC]def backlogItems = []

[MSG]def for declaration should not be used

FindProductBacklogItem.groovyVariableTypeRequired3106

[SRC]def backlogItems = []

[MSG]The type is not specified for variable "backlogItems"

FindProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure3107

[SRC]backlogList.each() { backlogItem ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

FindProductBacklogItem.groovyNoDef3108

[SRC]def tempBacklog = [:]

[MSG]def for declaration should not be used

FindProductBacklogItem.groovyVariableTypeRequired3108

[SRC]def tempBacklog = [:]

[MSG]The type is not specified for variable "tempBacklog"

FindProductBacklogItem.groovyUnnecessaryGString3113

[SRC]backlogCustWorkEffortList = from("CustRequestWorkEffort"...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3113

[SRC]backlogCustWorkEffortList = from("CustRequestWorkEffort"...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryParenthesesForMethodCallWithClosure3116

[SRC]backlogCustWorkEffortList.each() { custWorkEffortMap ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

FindProductBacklogItem.groovySpaceAfterComma3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindProductBacklogItem.groovySpaceAroundMapEntryColon3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

FindProductBacklogItem.groovySpaceAroundMapEntryColon3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

FindProductBacklogItem.groovySpaceAroundMapEntryColon3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

FindProductBacklogItem.groovyUnnecessaryGString3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3117

[SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovySpaceAfterIf3120

[SRC]if(actualHours) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindProductBacklogItem.groovyTrailingWhitespace3131

[SRC]

[MSG]Line ends with whitespace characters

FindProductBacklogItem.groovyUnnecessaryGString3133

[SRC]if ("N".equals(parameters.sequence)) {

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

FindProductBacklogItem.groovyUnnecessaryGString3134

[SRC]backlogItems = UtilMisc.sortMaps(backlogItems, ["parentC..RequestId"])

[MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAroundOperator337

[SRC]resultList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator337

[SRC]resultList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator338

[SRC]taskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator338

[SRC]taskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator339

[SRC]implementTaskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator339

[SRC]implementTaskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator340

[SRC]testTaskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator340

[SRC]testTaskList=[]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator345

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null)

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace348

[SRC]||(viewIndexNo_1 > 0)||(viewIndexNo_2 > 0)||(viewIndexNo..xNo_4 > 0)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator349

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator349

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator349

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator349

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace349

[SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString352

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortId..LS, taskId))

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace354

[SRC]if (taskName){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovyUnnecessaryGString355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString355

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace357

[SRC]if (taskTypeId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString358

[SRC]exprBldr.add(EntityCondition.makeCondition("workEffortTy..taskTypeId))

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace360

[SRC]if (statusId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString361

[SRC]exprBldr.add(EntityCondition.makeCondition("currentStatu.., statusId))

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString363

[SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").wh...queryList()

[MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString363

[SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").wh...queryList()

[MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace365

[SRC]else{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString366

[SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").or...queryList()

[MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString366

[SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").or...queryList()

[MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyTrailingWhitespace368

[SRC]

[MSG]Line ends with whitespace characters

FindTaskList.groovyUnnecessaryGString371

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskId", En..LS, taskId))

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace373

[SRC]if (taskName){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovyUnnecessaryGString374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The String 'taskName' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString374

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace376

[SRC]if (taskTypeId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString377

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskTypeId"..taskTypeId))

[MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace379

[SRC]if (statusId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString380

[SRC]exprBldr2.add(EntityCondition.makeCondition("taskCurrent.., statusId))

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace382

[SRC]if (sprintId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString383

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintId", .., sprintId))

[MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace385

[SRC]if (sprintName){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovyUnnecessaryGString386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString386

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace388

[SRC]if (projectId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString389

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectId",.. projectId))

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace391

[SRC]if (projectName){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceAroundOperator392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovyUnnecessaryGString392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString392

[SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString394

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintTypeI..UM_SPRINT"))

[MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString394

[SRC]exprBldr2.add(EntityCondition.makeCondition("sprintTypeI..UM_SPRINT"))

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString395

[SRC]plannedTaskList = from("ProjectSprintBacklogAndTask").wh...queryList()

[MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString395

[SRC]plannedTaskList = from("ProjectSprintBacklogAndTask").wh...queryList()

[MSG]The String '-taskCreatedDate' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyTrailingWhitespace396

[SRC]

[MSG]Line ends with whitespace characters

FindTaskList.groovySpaceBeforeOpeningBrace397

[SRC]unplannedTaskList.each{ unplannedTaskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryObjectReferences3107

[SRC]unplannedMap.taskCreatedDate = unplannedTaskMap.createdDate

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3108

[SRC]unplannedMap.custRequestId = unplannedTaskMap.custRequestId

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3109

[SRC]unplannedMap.description = unplannedTaskMap.description

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3110

[SRC]unplannedMap.custRequestTypeId = unplannedTaskMap.custRequestTypeId

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3111

[SRC]unplannedMap.taskActualMilliSeconds = unplannedTaskMap.a..MilliSeconds

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3112

[SRC]unplannedMap.taskEstimatedStartDate = unplannedTaskMap.e..tedStartDate

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyTrailingWhitespace3115

[SRC]

[MSG]Line ends with whitespace characters

FindTaskList.groovySpaceBeforeOpeningBrace3116

[SRC]plannedTaskList.each{ plannedTaskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryObjectReferences3126

[SRC]plannedMap.projectId = plannedTaskMap.projectId

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3127

[SRC]plannedMap.projectName = plannedTaskMap.projectName

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3128

[SRC]plannedMap.custRequestId = plannedTaskMap.custRequestId

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3129

[SRC]plannedMap.description = plannedTaskMap.description

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3130

[SRC]plannedMap.custRequestTypeId = plannedTaskMap.custRequestTypeId

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3131

[SRC]plannedMap.taskActualMilliSeconds = plannedTaskMap.taskA..MilliSeconds

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovyUnnecessaryObjectReferences3132

[SRC]plannedMap.taskEstimatedStartDate = plannedTaskMap.taskE..tedStartDate

[MSG]The code could be more concise by using a with() or identity() block

FindTaskList.groovySpaceBeforeOpeningBrace3136

[SRC]if (backlogTypeId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3137

[SRC]if (backlogTypeId=="Y"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3137

[SRC]if (backlogTypeId=="Y"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3137

[SRC]if (backlogTypeId=="Y"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3137

[SRC]if (backlogTypeId=="Y"){

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAfterOpeningBrace3138

[SRC]taskList.each{taskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3138

[SRC]taskList.each{taskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAfterIf3139

[SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindTaskList.groovySpaceAroundOperator3139

[SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3139

[SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3139

[SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3139

[SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAroundOperator3144

[SRC]if (backlogTypeId=="N"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3144

[SRC]if (backlogTypeId=="N"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3144

[SRC]if (backlogTypeId=="N"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3144

[SRC]if (backlogTypeId=="N"){

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAfterOpeningBrace3145

[SRC]taskList.each{taskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3145

[SRC]taskList.each{taskMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAfterIf3146

[SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

FindTaskList.groovySpaceAroundOperator3146

[SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3146

[SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3146

[SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3146

[SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceBeforeOpeningBrace3157

[SRC]if (partyId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3162

[SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString3162

[SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString3162

[SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString3173

[SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyUnnecessaryGString3173

[SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyTrailingWhitespace3182

[SRC]

[MSG]Line ends with whitespace characters

FindTaskList.groovySpaceAfterOpeningBrace3183

[SRC]resultList.each{resultMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3183

[SRC]resultList.each{resultMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyCouldBeSwitchStatement3184

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){

[MSG]Code could use switch statement

FindTaskList.groovySpaceAroundOperator3184

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3184

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3184

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3184

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){

[MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAroundOperator3187

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3187

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3187

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3187

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){

[MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAroundOperator3190

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3190

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3190

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3190

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){

[MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes

FindTaskList.groovySpaceAroundOperator3193

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceAroundOperator3193

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){

[MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3193

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovyUnnecessaryGString3193

[SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){

[MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes

FindTaskList.groovyTrailingWhitespace3197

[SRC]

[MSG]Line ends with whitespace characters

FindTaskList.groovySpaceBeforeOpeningBrace3198

[SRC]if (implementTaskList){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3201

[SRC]if (installTaskList){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3204

[SRC]if (testTaskList){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FindTaskList.groovySpaceBeforeOpeningBrace3207

[SRC]if (errorTaskList){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

FixedAssetMaintServices.groovyConsecutiveBlankLines320

[MSG]File FixedAssetMaintServices.groovy has consecutive blank lines

FixedAssetMaintServices.groovyJavadocEmptyReturnTag326

[SRC]* @return

[MSG]The javadoc @return tag is empty

FixedAssetMaintServices.groovyMethodReturnTypeRequired328

[SRC]def createFixedAssetMaintUpdateWorkEffort() {

[MSG]Method "createFixedAssetMaintUpdateWorkEffort" has a dynamic return type

FixedAssetMaintServices.groovyNoDef328

[SRC]def createFixedAssetMaintUpdateWorkEffort() {

[MSG]def for method return type should not be used

FixedAssetMaintServices.groovyTrailingWhitespace330

[SRC]

[MSG]Line ends with whitespace characters

FixedAssetMaintServices.groovyJavadocEmptyReturnTag343

[SRC]* @return

[MSG]The javadoc @return tag is empty

FixedAssetMaintServices.groovyMethodReturnTypeRequired346

[SRC]def updateFixedAssetMaintAndWorkEffort() {

[MSG]Method "updateFixedAssetMaintAndWorkEffort" has a dynamic return type

FixedAssetMaintServices.groovyNoDef346

[SRC]def updateFixedAssetMaintAndWorkEffort() {

[MSG]def for method return type should not be used

FixedAssetMaintServices.groovyJavadocEmptyReturnTag364

[SRC]* @return

[MSG]The javadoc @return tag is empty

FixedAssetMaintServices.groovyMethodReturnTypeRequired366

[SRC]def createWorkEffortAndAssocWithParent() {

[MSG]Method "createWorkEffortAndAssocWithParent" has a dynamic return type

FixedAssetMaintServices.groovyNoDef366

[SRC]def createWorkEffortAndAssocWithParent() {

[MSG]def for method return type should not be used

FixedAssetMaintServices.groovyJavadocEmptyReturnTag374

[SRC]* @return

[MSG]The javadoc @return tag is empty

FixedAssetMaintServices.groovyMethodReturnTypeRequired376

[SRC]def assetMaintPermissionCheck() {

[MSG]Method "assetMaintPermissionCheck" has a dynamic return type

FixedAssetMaintServices.groovyNoDef376

[SRC]def assetMaintPermissionCheck() {

[MSG]def for method return type should not be used

GPeriodServices.groovyBlockEndsWithBlankLine355

[MSG]Code block ends with a blank line.

GPeriodServices.groovyFileEndsWithoutNewline389

[SRC]}

[MSG]File GPeriodServices.groovy does not end with a newline

GetLastRequestAssignment.groovyUnnecessaryGString324

[SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList()

[MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString324

[SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList()

[MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString324

[SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList()

[MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString326

[SRC]custReqTaskList = custRequestList.get(0).getRelated("Cus..null, false)

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString328

[SRC]custReqTask = custReqTaskList.get(0).getRelatedOne("Work..se) // phase

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString329

[SRC]projectChildWorkEffort = custReqTask.getRelatedOne("Pare../ phase name

[MSG]The String 'ParentWorkEffort' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovyUnnecessaryGString331

[SRC]partyList = custReqTask.getRelated("WorkEffortPartyAssig..null, false)

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

GetLastRequestAssignment.groovySpaceAroundOperator334

[SRC]context.partyId= partyList.get(0).partyId

[MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

GetProjectId.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

GetProjectId.groovyUnnecessaryGString325

[SRC]projects = from("ProjectAndPhaseAndTask").where("workEff...queryList()

[MSG]The String 'ProjectAndPhaseAndTask' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString325

[SRC]projects = from("ProjectAndPhaseAndTask").where("workEff...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString327

[SRC]context.put("projectId", projects.get(0).getString("projectId"))

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString327

[SRC]context.put("projectId", projects.get(0).getString("projectId"))

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString328

[SRC]context.put("projectName", projects.get(0).getString("projectName"))

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString328

[SRC]context.put("projectName", projects.get(0).getString("projectName"))

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString329

[SRC]context.put("phaseName", projects.get(0).getString("phaseName"))

[MSG]The String 'phaseName' can be wrapped in single quotes instead of double quotes

GetProjectId.groovyUnnecessaryGString329

[SRC]context.put("phaseName", projects.get(0).getString("phaseName"))

[MSG]The String 'phaseName' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessaryGString324

[SRC]final String module = "GetThirdPartyLogins.groovy"

[MSG]The String 'GetThirdPartyLogins.groovy' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessaryGString337

[SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList();

[MSG]The String 'ThirdPartyLogin' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessaryGString337

[SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList();

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessaryGString337

[SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList();

[MSG]The String 'sequenceNum ASC' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessarySemicolon337

[SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList();

[MSG]Semicolons as line endings can be removed safely

GetThirdPartyLogins.groovyTrailingWhitespace340

[SRC]

[MSG]Line ends with whitespace characters

GetThirdPartyLogins.groovyUnnecessaryGString345

[SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst();

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

GetThirdPartyLogins.groovyUnnecessarySemicolon345

[SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst();

[MSG]Semicolons as line endings can be removed safely

GiftCardBalance.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

GiftCardBalance.groovyIndentation322

[SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true)

[MSG]The class None is at the incorrect indent level: Expected column 1 but was 2

GiftCardBalance.groovyMissingBlankLineAfterImports322

[SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true)

[MSG]Missing blank line after imports in file GiftCardBalance.groovy

GiftCardBalance.groovyUnnecessaryGString322

[SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true)

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

GiftCardLink.groovyInvertedIfElse325

[SRC]if (!processResult) {

[MSG]Testing the negative condition first can make an if statement confusing

GiftCardLink.groovyIndentation325

[SRC]if (!processResult) {

[MSG]The statement on line 25 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 4

GiftCardLink.groovyIndentation326

[SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>")

[MSG]The statement on line 26 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8

GiftCardLink.groovyUnnecessaryGString326

[SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>")

[MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyUnnecessaryGString326

[SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>")

[MSG]The String '<li>There was a problem linking your cards. Please check the numbers and try again.</li>' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyIndentation327

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The statement on line 27 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8

GiftCardLink.groovyUnnecessaryGString327

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyIndentation329

[SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>")

[MSG]The statement on line 29 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8

GiftCardLink.groovyUnnecessaryGString329

[SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyUnnecessaryGString329

[SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>")

[MSG]The String '<li>Thank-you. Your gift card account is now linked.</li>' can be wrapped in single quotes instead of double quotes

GiftCardLink.groovyUnnecessaryGString334

[SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true)

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

HtmlAreaPrep.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyUnusedImport326

[SRC]import org.apache.ofbiz.content.data.DataResourceWorker

[MSG]The [org.apache.ofbiz.content.data.DataResourceWorker] import is never referenced

HtmlAreaPrep.groovyUnusedImport327

[SRC]import org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler

[MSG]The [org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler] import is never referenced

HtmlAreaPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.io.StringWriter

HtmlAreaPrep.groovyUnusedImport329

[SRC]import java.io.StringWriter

[MSG]The [java.io.StringWriter] import is never referenced

HtmlAreaPrep.groovyUnusedImport330

[SRC]import freemarker.ext.beans.BeansWrapper

[MSG]The [freemarker.ext.beans.BeansWrapper] import is never referenced

HtmlAreaPrep.groovyUnusedImport331

[SRC]import freemarker.template.SimpleHash

[MSG]The [freemarker.template.SimpleHash] import is never referenced

HtmlAreaPrep.groovyUnusedImport332

[SRC]import freemarker.template.WrappingTemplateModel

[MSG]The [freemarker.template.WrappingTemplateModel] import is never referenced

HtmlAreaPrep.groovyNoWildcardImports334

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyNoWildcardImports335

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

HtmlAreaPrep.groovyUnnecessaryGString339

[SRC]if (!contentIdTo || !"TEMPLATE_MASTER".equals(contentIdTo)) {

[MSG]The String 'TEMPLATE_MASTER' can be wrapped in single quotes instead of double quotes

HtmlAreaPrep.groovyUnnecessaryGString340

[SRC]context.dynamicPrimaryHTMLField = "textData"

[MSG]The String 'textData' can be wrapped in single quotes instead of double quotes

IndexProducts.groovyConsecutiveBlankLines320

[MSG]File IndexProducts.groovy has consecutive blank lines

IndexProducts.groovyUnnecessaryGString333

[SRC]products = select("productId").from("Product").queryIterator()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

IndexProducts.groovyUnnecessaryGString333

[SRC]products = select("productId").from("Product").queryIterator()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

IndexProducts.groovySpaceAfterCatch338

[SRC]} catch(Exception e) {

[MSG]The catch keyword within class org.apache.ofbiz.lucene.content.None is not followed by a single space

IndexProducts.groovySpaceAfterOpeningBrace345

[SRC]} catch (Exception exc) {}

[MSG]The opening brace for the block in class org.apache.ofbiz.lucene.content.None is not followed by a space or whitespace

IndexProducts.groovySpaceBeforeClosingBrace345

[SRC]} catch (Exception exc) {}

[MSG]The closing brace for the block in class org.apache.ofbiz.lucene.content.None is not preceded by a space or whitespace

IndexProducts.groovyUnnecessaryElseStatement350

[SRC]} else {

[MSG]When an if statement block ends with a return statement the else is unnecessary

LabelManager.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory

LabelManager.groovyImportFromSamePackage322

[SRC]import org.apache.ofbiz.webtools.labelmanager.LabelReferences

LayeredNavigation.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.util.EntityUtil

[MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced

LayeredNavigation.groovyCouldBeElvis330

[SRC]if (!searchCategoryId) {

[MSG]Code could use elvis operator: searchCategoryId = searchCategoryId ?: context.productCategoryId

LayeredNavigation.groovyUnnecessaryGString334

[SRC]currentSearchCategory = from("ProductCategory").where("p..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString334

[SRC]currentSearchCategory = from("ProductCategory").where("p..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString335

[SRC]CategoryWorker.getRelatedCategories(request, "subCategor..ryId, false)

[MSG]The String 'subCategoryList' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString336

[SRC]subCategoryList = request.getAttribute("subCategoryList")

[MSG]The String 'subCategoryList' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyIndentation343

[SRC]context.productCategory = from("ProductCategory").where(..).queryOne()

[MSG]The statement on line 43 in class org.apache.ofbiz.ecommerce.catalog.None is at the incorrect indent level: Expected column 5 but was 4

LayeredNavigation.groovyUnnecessaryGString343

[SRC]context.productCategory = from("ProductCategory").where(..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString343

[SRC]context.productCategory = from("ProductCategory").where(..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyIndentation344

[SRC]parameters.SEARCH_CATEGORY_ID = productCategoryId

[MSG]The statement on line 44 in class org.apache.ofbiz.ecommerce.catalog.None is at the incorrect indent level: Expected column 5 but was 4

LayeredNavigation.groovyUnnecessaryGString347

[SRC]if (!parameters.clearSearch || !"N".equals(parameters.clearSearch)) {

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovySpaceAfterComma351

[SRC]request.getSession().setAttribute("dispatcher",dispatcher)

[MSG]The parameter dispatcher in the call to method setAttribute within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

LayeredNavigation.groovyUnnecessaryGString351

[SRC]request.getSession().setAttribute("dispatcher",dispatcher)

[MSG]The String 'dispatcher' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString361

[SRC]productCategoryRollups = from("ProductCategoryRollup").w...queryList()

[MSG]The String 'ProductCategoryRollup' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString361

[SRC]productCategoryRollups = from("ProductCategoryRollup").w...queryList()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString394

[SRC]colors = ProductSearchSession.listCountByFeatureForType(.., delegator)

[MSG]The String 'COLOR' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString395

[SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne()

[MSG]The String 'ProductFeatureType' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString395

[SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne()

[MSG]The String 'productFeatureTypeId' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString395

[SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne()

[MSG]The String 'COLOR' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovySpaceAroundOperator3100

[SRC]context.showColors=false

[MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

LayeredNavigation.groovySpaceAroundOperator3100

[SRC]context.showColors=false

[MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

LayeredNavigation.groovyTrailingWhitespace3102

[SRC]}

[MSG]Line ends with whitespace characters

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '0' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '10' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '10' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '20' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '20' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '30' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '30' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '40' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '40' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '50' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '50' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '60' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '60' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '70' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '70' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '80' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '80' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '90' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '90' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryGString3111

[SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]]

[MSG]The String '100' can be wrapped in single quotes instead of double quotes

LayeredNavigation.groovyUnnecessaryObjectReferences3140

[SRC]context.searchConstraintStrings = result.searchConstraintStrings

[MSG]The code could be more concise by using a with() or identity() block

ListCurrentProducts.groovyUnusedImport324

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

ListCurrentProducts.groovyUnnecessaryGString332

[SRC]if ("Any".equals(statusId)) {

[MSG]The String 'Any' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf337

[SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace337

[SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString337

[SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString337

[SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf338

[SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace338

[SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString338

[SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){

[MSG]The String 'SCRUM_PRODUCT' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString338

[SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString339

[SRC]roleTypeId = "PRODUCT_OWNER"

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf344

[SRC]if(partyId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace344

[SRC]if(partyId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString345

[SRC]paramCond.add(EntityCondition.makeCondition("partyId", E..S, partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf347

[SRC]if(productId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace347

[SRC]if(productId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString348

[SRC]paramCond.add(EntityCondition.makeCondition("productId",..ctId + "%"))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString348

[SRC]paramCond.add(EntityCondition.makeCondition("productId",..ctId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf350

[SRC]if(internalName){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace350

[SRC]if(internalName){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString351

[SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%"))

[MSG]The String 'internalName' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString351

[SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString351

[SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterIf353

[SRC]if(statusId){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace353

[SRC]if(statusId){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString354

[SRC]if ("PRODUCT_ACTIVE".equals(statusId)) {

[MSG]The String 'PRODUCT_ACTIVE' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString355

[SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..UALS, null))

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyIndentation357

[SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..QUAL, null))

[MSG]The statement on line 57 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 14

ListCurrentProducts.groovyUnnecessaryGString357

[SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..QUAL, null))

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyTrailingWhitespace360

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentProducts.groovyUnnecessaryGString361

[SRC]paramCond.add(EntityCondition.makeCondition("productType..CRUM_ITEM"))

[MSG]The String 'productTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString361

[SRC]paramCond.add(EntityCondition.makeCondition("productType..CRUM_ITEM"))

[MSG]The String 'SCRUM_ITEM' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString362

[SRC]paramCond.add(EntityCondition.makeCondition("roleTypeId"..WNER_COMP"))

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString362

[SRC]paramCond.add(EntityCondition.makeCondition("roleTypeId"..WNER_COMP"))

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString363

[SRC]paramCond.add(EntityCondition.makeCondition("thruDate", ..UALS, null))

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyTrailingWhitespace364

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentProducts.groovyUnnecessaryGString365

[SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString365

[SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList()

[MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString365

[SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList()

[MSG]The String 'internalName' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyTrailingWhitespace366

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentProducts.groovyUnnecessaryGString367

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString367

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString368

[SRC].from("ScrumMemberUserLoginAndSecurityGroup").where(Enti..eCondition([

[MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString369

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString370

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString370

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString371

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString373

[SRC].orderBy("partyId")

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyTrailingWhitespace375

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentProducts.groovyUnnecessaryGString380

[SRC]productMap = from("Product").where("productId", product...).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString380

[SRC]productMap = from("Product").where("productId", product...).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterComma381

[SRC]product.put("longDescription",productMap.longDescription)

[MSG]The parameter productMap.longDescription in the call to method put within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString381

[SRC]product.put("longDescription",productMap.longDescription)

[MSG]The String 'longDescription' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAfterClosingBrace382

[SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListCurrentProducts.groovySpaceAfterIf382

[SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovySpaceBeforeOpeningBrace382

[SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString382

[SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString382

[SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceBeforeOpeningBrace384

[SRC]}else{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProducts.groovyUnnecessaryGString388

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString389

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString389

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString389

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString389

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString398

[SRC]} else if ("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3101

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3102

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3102

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3103

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3103

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3104

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3106

[SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList()

[MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3107

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAroundMapEntryColon3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3118

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3123

[SRC]} else if ("SCRUM_MASTER".equals(groupId)) {

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceAroundMapEntryColon3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovySpaceAroundMapEntryColon3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3126

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3133

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'SPJ_ACTIVE' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3136

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3136

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3136

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3147

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3147

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3147

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3147

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3150

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3150

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3150

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3159

[SRC]projects = from("WorkEffortAndProduct").where("productId...queryList()

[MSG]The String 'SPJ_ACTIVE' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3163

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3163

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3163

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3163

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3166

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3166

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3166

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3174

[SRC]exprBldr = [EntityCondition.makeCondition("statusId", En.._REVIEWED"),

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3174

[SRC]exprBldr = [EntityCondition.makeCondition("statusId", En.._REVIEWED"),

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3175

[SRC]EntityCondition.makeCondition("statusId", EntityOperator.._REOPENED")]

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3175

[SRC]EntityCondition.makeCondition("statusId", EntityOperator.._REOPENED")]

[MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3176

[SRC]andExprs = [EntityCondition.makeCondition("productId", E...productId),

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3177

[SRC]EntityCondition.makeCondition("currentStatusId", EntityO..S_CREATED"),

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3177

[SRC]EntityCondition.makeCondition("currentStatusId", EntityO..S_CREATED"),

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3180

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3184

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3184

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyUnnecessaryGString3184

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovyTrailingWhitespace3192

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentProducts.groovyIndentation3194

[SRC]products.add(product)

[MSG]The statement on line 194 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 23

ListCurrentProducts.groovySpaceAfterIf3198

[SRC]if(addAllProducts)

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentProducts.groovyUnnecessaryGString3202

[SRC]logError("Party ID missing =========>>> : null ")

[MSG]The String 'Party ID missing =========>>> : null ' can be wrapped in single quotes instead of double quotes

ListCurrentProducts.groovySpaceBeforeOpeningBrace3205

[SRC]if (products){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListCurrentProjects.groovyConsecutiveBlankLines320

[MSG]File ListCurrentProjects.groovy has consecutive blank lines

ListCurrentProjects.groovyUnnecessaryGString327

[SRC]EntityCondition.makeCondition ("workEffortTypeId", Entit.. "PROJECT"),

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString327

[SRC]EntityCondition.makeCondition ("workEffortTypeId", Entit.. "PROJECT"),

[MSG]The String 'PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString328

[SRC]EntityCondition.makeCondition ("currentStatusId", Entity..PRJ_CLOSED")

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString328

[SRC]EntityCondition.makeCondition ("currentStatusId", Entity..PRJ_CLOSED")

[MSG]The String 'PRJ_CLOSED' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString330

[SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString330

[SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString330

[SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList()

[MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovySpaceAroundMapEntryColon334

[SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

ListCurrentProjects.groovySpaceAroundMapEntryColon334

[SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId])

[MSG]The colon for the literal Map entry for key [projectId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

ListCurrentProjects.groovyUnnecessaryGString334

[SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString334

[SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId])

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString336

[SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString336

[SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString336

[SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString337

[SRC]if (security.hasEntityPermission("PROJECTMGR", "_ADMIN", session)

[MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString337

[SRC]if (security.hasEntityPermission("PROJECTMGR", "_ADMIN", session)

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString338

[SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) {

[MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString338

[SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) {

[MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString338

[SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) {

[MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes

ListCurrentProjects.groovyUnnecessaryGString338

[SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) {

[MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString327

[SRC]EntityCondition.makeCondition ("projectTypeId", EntityOp..M_PROJECT"),

[MSG]The String 'projectTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString327

[SRC]EntityCondition.makeCondition ("projectTypeId", EntityOp..M_PROJECT"),

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString328

[SRC]EntityCondition.makeCondition ("projectStatusId", Entity..SPJ_CLOSED")

[MSG]The String 'projectStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString328

[SRC]EntityCondition.makeCondition ("projectStatusId", Entity..SPJ_CLOSED")

[MSG]The String 'SPJ_CLOSED' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString331

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString332

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString332

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString333

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString335

[SRC]fields = new HashSet(["partyId", "groupId"])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString335

[SRC]fields = new HashSet(["partyId", "groupId"])

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString337

[SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList()

[MSG]The String 'ProjectSprint' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString337

[SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList()

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString337

[SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList()

[MSG]The String '-sprintActualStartDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString338

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString338

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList()

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString338

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList()

[MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString338

[SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString345

[SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString345

[SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString345

[SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList()

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString345

[SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString346

[SRC]companyId = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString347

[SRC]companyName = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyNoTabCharacter349

[MSG]The tab character is not allowed in source files

ListCurrentSprints.groovyIndentation349

[SRC]companyName = productAndRole.get(0).groupName

[MSG]The statement on line 49 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6

ListCurrentSprints.groovyIndentation350

[SRC]companyId = productAndRole.get(0).partyId

[MSG]The statement on line 50 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6

ListCurrentSprints.groovyUnnecessaryGString353

[SRC]sprint.put("companyId", companyId)

[MSG]The String 'companyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString354

[SRC]sprint.put("companyName", companyName)

[MSG]The String 'companyName' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString355

[SRC]product = from("Product").where("productId", sprint.prod..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString355

[SRC]product = from("Product").where("productId", sprint.prod..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString356

[SRC]productName = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString358

[SRC]sprint.put("productName", productName)

[MSG]The String 'productName' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation361

[SRC]oldProjectId = newProjectId

[MSG]The statement on line 61 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6

ListCurrentSprints.groovyIndentation362

[SRC]countSprint = 0

[MSG]The statement on line 62 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6

ListCurrentSprints.groovyIndentation364

[SRC]if (partyAndSecurityGroupList) {

[MSG]The statement on line 64 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 8

ListCurrentSprints.groovyIndentation365

[SRC]groupId = partyAndSecurityGroupList[0].groupId

[MSG]The statement on line 65 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12

ListCurrentSprints.groovyIndentation366

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The statement on line 66 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12

ListCurrentSprints.groovySpaceAfterClosingBrace366

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListCurrentSprints.groovyUnnecessaryGString366

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation367

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The statement on line 67 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString367

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString367

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString367

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString367

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation368

[SRC]if (productAndRoleList) {

[MSG]The statement on line 68 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation369

[SRC]ismember = true

[MSG]The statement on line 69 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovySpaceAfterIf371

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentSprints.groovyUnnecessaryGString371

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation373

[SRC]scrumRolesCond = EntityCondition.makeCondition([

[MSG]The statement on line 73 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString374

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString375

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString375

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString376

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString376

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString377

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation379

[SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList()

[MSG]The statement on line 79 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString379

[SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList()

[MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The statement on line 80 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString380

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation381

[SRC]if (productRoleList) {

[MSG]The statement on line 81 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation382

[SRC]productRoleList.each { productRoleMap ->

[MSG]The statement on line 82 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation383

[SRC]stakeholderProduct = productRoleMap.productId

[MSG]The statement on line 83 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [39, 43, 47] columns, but was 24

ListCurrentSprints.groovyIndentation384

[SRC]if (stakeholderProduct.equals(sprint.productId)) {

[MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [39, 43, 47] columns, but was 24

ListCurrentSprints.groovyIndentation385

[SRC]ismember = true

[MSG]The statement on line 85 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28

ListCurrentSprints.groovyIndentation390

[SRC]if (ismember == false) {

[MSG]The statement on line 90 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation391

[SRC]productAndRoleList = from("ProductAndRole")

[MSG]The statement on line 91 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyUnnecessaryGString391

[SRC]productAndRoleList = from("ProductAndRole")

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyTrailingWhitespace392

[SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER",

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString392

[SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER",

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString392

[SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER",

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString392

[SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER",

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString392

[SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER",

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString393

[SRC]"supportDiscontinuationDate", null, "thruDate", null)

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString393

[SRC]"supportDiscontinuationDate", null, "thruDate", null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation395

[SRC]if (productAndRoleList) {

[MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation396

[SRC]ismember = true

[MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24

ListCurrentSprints.groovySpaceAfterIf399

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentSprints.groovyUnnecessaryGString399

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3101

[SRC]productRoleList = []

[MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3102

[SRC]productRoleList = from("ProductAndRole")

[MSG]The statement on line 102 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString3102

[SRC]productRoleList = from("ProductAndRole")

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovySpaceAroundMapEntryColon3103

[SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId,

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3103

[SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId,

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovyTrailingWhitespace3103

[SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId,

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString3103

[SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId,

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3103

[SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId,

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovySpaceAroundMapEntryColon3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovyUnnecessaryGString3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3104

[SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyTrailingWhitespace3106

[SRC]

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyIndentation3107

[SRC]if (productRoleList) {

[MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3108

[SRC]ismember = true

[MSG]The statement on line 108 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3111

[SRC]if (ismember == false) {

[MSG]The statement on line 111 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3112

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The statement on line 112 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyUnnecessaryGString3112

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3112

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3112

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3113

[SRC]if (projectPartyAssignment) {

[MSG]The statement on line 113 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3114

[SRC]ismember = true

[MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24

ListCurrentSprints.groovyIndentation3118

[SRC]if (ismember == false) {

[MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3119

[SRC]allSprintList = []

[MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3120

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The statement on line 120 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyUnnecessaryGString3120

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3120

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3121

[SRC]allSprintList.each { SprintListMap ->

[MSG]The statement on line 121 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3122

[SRC]sprintId = SprintListMap.workEffortId

[MSG]The statement on line 122 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyIndentation3123

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The statement on line 123 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyUnnecessaryGString3123

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3123

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3123

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3124

[SRC]if (workEffortPartyAssignment) {

[MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyIndentation3125

[SRC]ismember = true

[MSG]The statement on line 125 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28

ListCurrentSprints.groovyIndentation3130

[SRC]allSprintList = []

[MSG]The statement on line 130 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3131

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The statement on line 131 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyUnnecessaryGString3131

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3131

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3132

[SRC]allSprintList.each { SprintListMap ->

[MSG]The statement on line 132 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3133

[SRC]sprintId = SprintListMap.workEffortId

[MSG]The statement on line 133 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20

ListCurrentSprints.groovyIndentation3134

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The statement on line 134 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20

ListCurrentSprints.groovyUnnecessaryGString3134

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3134

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3134

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3135

[SRC]if (workEffortPartyAssignment) {

[MSG]The statement on line 135 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20

ListCurrentSprints.groovyIndentation3136

[SRC]ismember = true

[MSG]The statement on line 136 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24

ListCurrentSprints.groovyTrailingWhitespace3141

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString3141

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3141

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyTrailingWhitespace3142

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString3142

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3142

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3142

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3142

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3143

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3143

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3143

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3143

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3144

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) {

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3144

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) {

[MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3145

[SRC]sprints.add(sprint)

[MSG]The statement on line 145 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 16

ListCurrentSprints.groovyIndentation3146

[SRC]countSprint++

[MSG]The statement on line 146 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 16

ListCurrentSprints.groovyTrailingWhitespace3148

[SRC]} else {

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyIndentation3149

[SRC]if (countSprint < 4) {

[MSG]The statement on line 149 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6

ListCurrentSprints.groovyIndentation3150

[SRC]ismember = false

[MSG]The statement on line 150 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12

ListCurrentSprints.groovyIndentation3151

[SRC]if (partyAndSecurityGroupList) {

[MSG]The statement on line 151 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12

ListCurrentSprints.groovyIndentation3152

[SRC]groupId = partyAndSecurityGroupList[0].groupId

[MSG]The statement on line 152 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovyIndentation3153

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The statement on line 153 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

ListCurrentSprints.groovySpaceAfterClosingBrace3153

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListCurrentSprints.groovyUnnecessaryGString3153

[SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) {

[MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The statement on line 154 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyUnnecessaryGString3154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3154

[SRC]productAndRoleList = from("ProductRole").where("productI...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3155

[SRC]if (productAndRoleList) {

[MSG]The statement on line 155 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3156

[SRC]ismember = true

[MSG]The statement on line 156 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24

ListCurrentSprints.groovySpaceAfterIf3158

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentSprints.groovyUnnecessaryGString3158

[SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) {

[MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3160

[SRC]scrumRolesCond = EntityCondition.makeCondition([

[MSG]The statement on line 160 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyUnnecessaryGString3161

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3162

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3162

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"),

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3163

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3163

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3164

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3166

[SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList()

[MSG]The statement on line 166 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyUnnecessaryGString3166

[SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList()

[MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The statement on line 167 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyUnnecessaryGString3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3167

[SRC]productRoleList = from("ProductRole").where("partyId", s...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3168

[SRC]if (productRoleList) {

[MSG]The statement on line 168 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3169

[SRC]productRoleList.each { productRoleMap ->

[MSG]The statement on line 169 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3170

[SRC]stakeholderProduct = productRoleMap.productId

[MSG]The statement on line 170 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [47, 51, 55] columns, but was 32

ListCurrentSprints.groovyIndentation3171

[SRC]if (stakeholderProduct.equals(sprint.productId)) {

[MSG]The statement on line 171 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [47, 51, 55] columns, but was 32

ListCurrentSprints.groovyIndentation3172

[SRC]ismember = true

[MSG]The statement on line 172 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [33, 37, 41] but was 36

ListCurrentSprints.groovyIndentation3177

[SRC]if (ismember == false) {

[MSG]The statement on line 177 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The statement on line 178 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovySpaceAroundMapEntryColon3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3178

[SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3179

[SRC]if (productAndRoleList) {

[MSG]The statement on line 179 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3180

[SRC]ismember = true

[MSG]The statement on line 180 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 32

ListCurrentSprints.groovySpaceAfterIf3183

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ListCurrentSprints.groovyUnnecessaryGString3183

[SRC]} else if("SCRUM_MASTER".equals(groupId)) {

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3185

[SRC]productRoleList = []

[MSG]The statement on line 185 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The statement on line 186 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovySpaceAroundMapEntryColon3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovySpaceAroundMapEntryColon3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3186

[SRC]productRoleList = from("ProductAndRole").where("productI...queryList()

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3187

[SRC]if (productRoleList) {

[MSG]The statement on line 187 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3188

[SRC]ismember = true

[MSG]The statement on line 188 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3191

[SRC]if (ismember == false) {

[MSG]The statement on line 191 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3192

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The statement on line 192 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyUnnecessaryGString3192

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3192

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3192

[SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3193

[SRC]if (projectPartyAssignment) {

[MSG]The statement on line 193 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3194

[SRC]ismember = true

[MSG]The statement on line 194 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 32

ListCurrentSprints.groovyIndentation3198

[SRC]if (ismember == false) {

[MSG]The statement on line 198 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24

ListCurrentSprints.groovyIndentation3199

[SRC]allSprintList = []

[MSG]The statement on line 199 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3200

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The statement on line 200 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyUnnecessaryGString3200

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3200

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3201

[SRC]allSprintList.each { SprintListMap ->

[MSG]The statement on line 201 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28

ListCurrentSprints.groovyIndentation3202

[SRC]sprintId = SprintListMap.workEffortId

[MSG]The statement on line 202 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32

ListCurrentSprints.groovyIndentation3203

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The statement on line 203 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32

ListCurrentSprints.groovyUnnecessaryGString3203

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3203

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3203

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3204

[SRC]if (workEffortPartyAssignment) {

[MSG]The statement on line 204 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32

ListCurrentSprints.groovyIndentation3205

[SRC]ismember = true

[MSG]The statement on line 205 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [33, 37, 41] but was 36

ListCurrentSprints.groovyIndentation3210

[SRC]allSprintList = []

[MSG]The statement on line 210 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3211

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The statement on line 211 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyUnnecessaryGString3211

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3211

[SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList()

[MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3212

[SRC]allSprintList.each { SprintListMap ->

[MSG]The statement on line 212 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

ListCurrentSprints.groovyIndentation3213

[SRC]sprintId = SprintListMap.workEffortId

[MSG]The statement on line 213 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyIndentation3214

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The statement on line 214 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyUnnecessaryGString3214

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3214

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3214

[SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3215

[SRC]if (workEffortPartyAssignment) {

[MSG]The statement on line 215 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24

ListCurrentSprints.groovyIndentation3216

[SRC]ismember = true

[MSG]The statement on line 216 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28

ListCurrentSprints.groovyTrailingWhitespace3221

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString3221

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3221

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyTrailingWhitespace3222

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]Line ends with whitespace characters

ListCurrentSprints.groovyUnnecessaryGString3222

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3222

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3222

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3222

[SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session)

[MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3223

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3223

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3223

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3223

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session)

[MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3224

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) {

[MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3224

[SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) {

[MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyIndentation3225

[SRC]sprints.add(sprint)

[MSG]The statement on line 225 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 14

ListCurrentSprints.groovyIndentation3226

[SRC]countSprint++

[MSG]The statement on line 226 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 14

ListCurrentSprints.groovyIndentation3232

[SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"])

[MSG]The statement on line 232 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2

ListCurrentSprints.groovyUnnecessaryGString3232

[SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"])

[MSG]The String 'companyName' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3232

[SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"])

[MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes

ListCurrentSprints.groovyUnnecessaryGString3232

[SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"])

[MSG]The String 'productName' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'WorkEffortAndPartyAssign' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'PROJECT' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString321

[SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList()

[MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovySpaceAroundMapEntryColon325

[SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

ListResourceBillingHours.groovySpaceAroundMapEntryColon325

[SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId])

[MSG]The colon for the literal Map entry for key [projectId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

ListResourceBillingHours.groovySpaceAroundMapEntryColon325

[SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S]

ListResourceBillingHours.groovyUnnecessaryGString325

[SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ListResourceBillingHours.groovyUnnecessaryGString325

[SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId])

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListRevision.groovySpaceAroundOperator330

[SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) {

[MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListRevision.groovyUnnecessaryGString332

[SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..D_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString332

[SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..D_BACKLOG"))

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString333

[SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..N_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString333

[SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..N_BACKLOG"))

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString336

[SRC]andList.add(EntityCondition.makeCondition("productId", E..ctId + "%"))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString336

[SRC]andList.add(EntityCondition.makeCondition("productId", E..ctId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString339

[SRC]andList.add(EntityCondition.makeCondition("custRequestId..stId + "%"))

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString339

[SRC]andList.add(EntityCondition.makeCondition("custRequestId..stId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString343

[SRC]custRequestList = from("CustRequestAndCustRequestItem")....queryList()

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

ListRevision.groovyTrailingWhitespace344

[SRC]

[MSG]Line ends with whitespace characters

ListRevision.groovyUnnecessaryGString345

[SRC]custRequestIds = EntityUtil.getFieldListFromEntityList(c..stId", true)

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString347

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..ASK_ERROR"))

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString347

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..ASK_ERROR"))

[MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString348

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_TEST"))

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString348

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_TEST"))

[MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString349

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_IMPL"))

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString349

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_IMPL"))

[MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString350

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_INST"))

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString350

[SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_INST"))

[MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString352

[SRC]taskAndList.add(EntityCondition.makeCondition("custReque..RequestIds))

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString355

[SRC]custAndWorkEffortList = from("CustRequestAndWorkEffort")...queryList()

[MSG]The String 'CustRequestAndWorkEffort' can be wrapped in single quotes instead of double quotes

ListRevision.groovyTrailingWhitespace356

[SRC]

[MSG]Line ends with whitespace characters

ListRevision.groovyUnnecessaryGString358

[SRC]workEffortIds = EntityUtil.getFieldListFromEntityList(cu..rtId", true)

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString361

[SRC]revisionAndList.add(EntityCondition.makeCondition("workE..rtId + "%"))

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString361

[SRC]revisionAndList.add(EntityCondition.makeCondition("workE..rtId + "%"))

[MSG]The String '%' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString363

[SRC]revisionAndList.add(EntityCondition.makeCondition("workE..kEffortIds))

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString365

[SRC]revisionAndList.add(EntityCondition.makeCondition("workE.._SUB_INFO"))

[MSG]The String 'workEffortContentTypeId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString365

[SRC]revisionAndList.add(EntityCondition.makeCondition("workE.._SUB_INFO"))

[MSG]The String 'TASK_SUB_INFO' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString367

[SRC]revisionList = from("WorkEffortAndContentDataResource")....queryList()

[MSG]The String 'WorkEffortAndContentDataResource' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString367

[SRC]revisionList = from("WorkEffortAndContentDataResource")....queryList()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ListRevision.groovyTrailingWhitespace368

[SRC]

[MSG]Line ends with whitespace characters

ListRevision.groovyUnnecessaryGString378

[SRC]custAndWorkEfffList = from("CustRequestAndWorkEffort").w...queryList()

[MSG]The String 'CustRequestAndWorkEffort' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString378

[SRC]custAndWorkEfffList = from("CustRequestAndWorkEffort").w...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString381

[SRC]custAndCustItemList = from("CustRequestAndCustRequestIte...queryList()

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

ListRevision.groovyUnnecessaryGString381

[SRC]custAndCustItemList = from("CustRequestAndCustRequestIte...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString330

[SRC]andCond.add(EntityCondition.makeCondition("partyId", Ent..S, partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString331

[SRC]andCond.add(EntityCondition.makeCondition("partyStatusId..Y_ENABLED"))

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString331

[SRC]andCond.add(EntityCondition.makeCondition("partyStatusId..Y_ENABLED"))

[MSG]The String 'PARTY_ENABLED' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString333

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UCT_OWNER"))

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString333

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UCT_OWNER"))

[MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString334

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UM_MASTER"))

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString334

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UM_MASTER"))

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString335

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..CRUM_TEAM"))

[MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString335

[SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..CRUM_TEAM"))

[MSG]The String 'SCRUM_TEAM' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString336

[SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..QUALS, "Y"))

[MSG]The String 'enabled' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString336

[SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..QUALS, "Y"))

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString337

[SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..UALS, null))

[MSG]The String 'enabled' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString347

[SRC]scrumUserLoginSecurityGroupList = from("ScrumMemberUserL...queryList()

[MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyInvertedCondition352

[SRC]if ("SCRUM_PRODUCT_OWNER" == scrumUserLoginSecurityGroupMap.groupId) {

[MSG]SCRUM_PRODUCT_OWNER is a constant expression on the left side of a compare equals operation

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString352

[SRC]if ("SCRUM_PRODUCT_OWNER" == scrumUserLoginSecurityGroupMap.groupId) {

[MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString354

[SRC]ownerCond.add(EntityCondition.makeCondition("enumTypeId"..REFERENCE"))

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString354

[SRC]ownerCond.add(EntityCondition.makeCondition("enumTypeId"..REFERENCE"))

[MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString355

[SRC]ownerCond.add(EntityCondition.makeCondition("enumId", En..ER_NOTIFY"))

[MSG]The String 'enumId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString355

[SRC]ownerCond.add(EntityCondition.makeCondition("enumId", En..ER_NOTIFY"))

[MSG]The String 'MASTER_NOTIFY' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString357

[SRC]userPreferenceList = from("Enumeration").where(ownerConds).queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyInvertedCondition358

[SRC]} else if ("SCRUM_MASTER" == scrumUserLoginSecurityGroupMap.groupId) {

[MSG]SCRUM_MASTER is a constant expression on the left side of a compare equals operation

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString358

[SRC]} else if ("SCRUM_MASTER" == scrumUserLoginSecurityGroupMap.groupId) {

[MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString360

[SRC]masterCond.add(EntityCondition.makeCondition("enumTypeId..REFERENCE"))

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString360

[SRC]masterCond.add(EntityCondition.makeCondition("enumTypeId..REFERENCE"))

[MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString361

[SRC]masterCond.add(EntityCondition.makeCondition("enumId", E..ER_NOTIFY"))

[MSG]The String 'enumId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString361

[SRC]masterCond.add(EntityCondition.makeCondition("enumId", E..ER_NOTIFY"))

[MSG]The String 'MASTER_NOTIFY' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString363

[SRC]userPreferenceList = from("Enumeration").where(masterCon...queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovySpaceAfterClosingBrace372

[SRC]userPreferenceList.each { userPreferenceMap ->

[MSG]The closing brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString379

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)) {

[MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString379

[SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)) {

[MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString380

[SRC]userPreferenceList = from("Enumeration").where("enumType...queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString380

[SRC]userPreferenceList = from("Enumeration").where("enumType...queryList()

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

ListScrumPreferenceSecurityGroup.groovyUnnecessaryGString380

[SRC]userPreferenceList = from("Enumeration").where("enumType...queryList()

[MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes

ListScrumResource.groovyUnnecessaryGString324

[SRC]performFindInMap.entityName = "ScrumMemberUserLoginAndSecurityGroup"

[MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes

ListScrumResource.groovyUnnecessaryGString329

[SRC]performFindInMap.noConditionFind = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ListScrumResource.groovyUnnecessaryGString332

[SRC]performFindInMap.filterByDate = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ListScrumResource.groovyUnnecessaryGString334

[SRC]performFindInMap.orderBy = "lastName"

[MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes

ListScrumResource.groovyIndentation346

[SRC]logError(e)

[MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17

ListScrumResource.groovyUnnecessaryParenthesesForMethodCallWithClosure351

[SRC]resultList.each() { result ->

[MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed.

ListScrumResource.groovyUnnecessaryGString352

[SRC]if (!"N".equals(result.enabled)) {

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovySpaceAroundMapEntryColon329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListScrumRolesPersonAndCompany.groovySpaceAroundMapEntryColon329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString329

[SRC]productRoleList = from("ProductRole").where("productId" ...queryList()

[MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString332

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"),

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString332

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"),

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString333

[SRC]EntityCondition.makeCondition ("partyIdFrom", EntityOper..0].partyId),

[MSG]The String 'partyIdFrom' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString334

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString334

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString335

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString337

[SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList()

[MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString337

[SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList()

[MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString350

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"),

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString350

[SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"),

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString351

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString351

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"),

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString352

[SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null)

[MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString354

[SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList()

[MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString354

[SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList()

[MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString359

[SRC]EntityCondition.makeCondition ("partyId", EntityOperator..S, partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString360

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp..Y_DISABLED")

[MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString360

[SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp..Y_DISABLED")

[MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes

ListScrumRolesPersonAndCompany.groovyUnnecessaryGString362

[SRC]securityGroupList = from("ScrumMemberUserLoginAndSecurit...queryList()

[MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyCouldBeElvis331

[SRC]if (!parameters.noConditionFind) {

[MSG]Code could use elvis operator: parameters.noConditionFind = parameters.noConditionFind ?: 'N'

ListTimeSheets.groovyUnnecessaryGString332

[SRC]parameters.noConditionFind = "N"

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString335

[SRC]performFindResults = runService('performFind', ["entityN..Date DESC"])

[MSG]The String 'entityName' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString335

[SRC]performFindResults = runService('performFind', ["entityN..Date DESC"])

[MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString335

[SRC]performFindResults = runService('performFind', ["entityN..Date DESC"])

[MSG]The String 'inputFields' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString335

[SRC]performFindResults = runService('performFind', ["entityN..Date DESC"])

[MSG]The String 'orderBy' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString335

[SRC]performFindResults = runService('performFind', ["entityN..Date DESC"])

[MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString340

[SRC]logError(e, "Failure in " + module)

[MSG]The String 'Failure in ' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyIndentation346

[SRC]logError(e)

[MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21

ListTimeSheets.groovyTrailingWhitespace350

[SRC]

[MSG]Line ends with whitespace characters

ListTimeSheets.groovyUnnecessaryGString355

[SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.fromDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString356

[SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.thruDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString357

[SRC]leaveExprsList.add(EntityCondition.makeCondition("partyI..Db.partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString358

[SRC]emplLeaveList = from("EmplLeave").where(leaveExprsList)...ryIterator()

[MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyTrailingWhitespace360

[SRC]

[MSG]Line ends with whitespace characters

ListTimeSheets.groovyTrailingWhitespace363

[SRC]resultHour = runService('getPartyLeaveHoursForDate',

[MSG]Line ends with whitespace characters

ListTimeSheets.groovyUnnecessaryGString364

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString364

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString364

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString364

[SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ListTimeSheets.groovyUnnecessaryGString373

[SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false)

[MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString328

[SRC]if ("Any" != backlogStatusId) {

[MSG]The String 'Any' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation329

[SRC]taskStatusId = "STS_CREATED"

[MSG]The statement on line 29 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString329

[SRC]taskStatusId = "STS_CREATED"

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation330

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The statement on line 30 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString330

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString330

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation332

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString332

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString332

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED"))

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation333

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED"))

[MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString333

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED"))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString333

[SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED"))

[MSG]The String 'CRQ_COMPLETED' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation337

[SRC]orCurentExprs.add(EntityCondition.makeCondition("current..skStatusId))

[MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString337

[SRC]orCurentExprs.add(EntityCondition.makeCondition("current..skStatusId))

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyIndentation338

[SRC]orCurentExprs.add(EntityCondition.makeCondition("current..UALS, null))

[MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

ListUnplanBacklog.groovyUnnecessaryGString338

[SRC]orCurentExprs.add(EntityCondition.makeCondition("current..UALS, null))

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString341

[SRC]andExprs.add(EntityCondition.makeCondition("productId", ...productId))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString342

[SRC]andExprs.add(EntityCondition.makeCondition("custRequestT..N_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString342

[SRC]andExprs.add(EntityCondition.makeCondition("custRequestT..N_BACKLOG"))

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovySpaceAfterComma346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The parameter workEffortTypeId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListUnplanBacklog.groovySpaceAfterComma346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The parameter custSequenceNum in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ListUnplanBacklog.groovyUnnecessaryGString346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The String '-custRequestId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

ListUnplanBacklog.groovyUnnecessaryGString346

[SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList()

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

Login.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

Login.groovyUnusedImport322

[SRC]import org.apache.ofbiz.common.CommonWorkers

[MSG]The [org.apache.ofbiz.common.CommonWorkers] import is never referenced

Login.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.webapp.control.*

[MSG]Wildcard (star) import

Login.groovyUnnecessaryGString325

[SRC]context.autoUserLogin = session.getAttribute("autoUserLogin")

[MSG]The String 'autoUserLogin' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString326

[SRC]context.autoLogoutUrl = LoginWorker.makeLoginUrl(request..autoLogout")

[MSG]The String 'autoLogout' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString328

[SRC]previousParams = session.getAttribute("_PREVIOUS_PARAMS_")

[MSG]The String '_PREVIOUS_PARAMS_' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString330

[SRC]previousParams = UtilHttp.stripNamedParamsFromQueryStrin.."PASSWORD"])

[MSG]The String 'USERNAME' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString330

[SRC]previousParams = UtilHttp.stripNamedParamsFromQueryStrin.."PASSWORD"])

[MSG]The String 'PASSWORD' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString331

[SRC]previousParams = "?" + previousParams

[MSG]The String '?' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString333

[SRC]previousParams = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString324

[SRC]context.autoUserLogin = session.getAttribute("autoUserLogin")

[MSG]The String 'autoUserLogin' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString325

[SRC]context.autoLogoutUrl = LoginWorker.makeLoginUrl(request..autoLogout")

[MSG]The String 'autoLogout' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString327

[SRC]previousParams = session.getAttribute("_PREVIOUS_PARAMS_")

[MSG]The String '_PREVIOUS_PARAMS_' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString330

[SRC]previousParams = "?" + previousParams

[MSG]The String '?' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString332

[SRC]previousParams = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString340

[SRC]facilityId = productStore.getString("inventoryFacilityId")

[MSG]The String 'inventoryFacilityId' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString343

[SRC]context.posTerminals = from("PosTerminal").where("facili...queryList()

[MSG]The String 'PosTerminal' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString343

[SRC]context.posTerminals = from("PosTerminal").where("facili...queryList()

[MSG]The String 'facilityId' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString343

[SRC]context.posTerminals = from("PosTerminal").where("facili...queryList()

[MSG]The String 'posTerminalId' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString345

[SRC]context.posTerminals = from("PosTerminal").orderBy("posT...queryList()

[MSG]The String 'PosTerminal' can be wrapped in single quotes instead of double quotes

Login.groovyUnnecessaryGString345

[SRC]context.posTerminals = from("PosTerminal").orderBy("posT...queryList()

[MSG]The String 'posTerminalId' can be wrapped in single quotes instead of double quotes

Main.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

Main.groovyUnnecessaryGString325

[SRC]request.setAttribute("productCategoryId", promoCat)

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGroovyImport321

[SRC]import java.math.BigDecimal

MiniProductSummary.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Map

MiniProductSummary.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyNoWildcardImports329

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

MiniProductSummary.groovyUnnecessaryGString334

[SRC]miniProduct = request.getAttribute("miniProduct")

[MSG]The String 'miniProduct' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString335

[SRC]optProductId = request.getAttribute("optProductId")

[MSG]The String 'optProductId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString340

[SRC]context.remove("totalPrice")

[MSG]The String 'totalPrice' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString343

[SRC]miniProduct = from("Product").where("productId", optProd..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString343

[SRC]miniProduct = from("Product").where("productId", optProd..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovySpaceAroundMapEntryColon348

[SRC]priceParams = [product : miniProduct,

[MSG]The colon for the literal Map entry for key [product] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovySpaceAroundMapEntryColon349

[SRC]prodCatalogId : prodCatalogId,

[MSG]The colon for the literal Map entry for key [prodCatalogId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovySpaceAroundMapEntryColon350

[SRC]webSiteId : webSiteId,

[MSG]The colon for the literal Map entry for key [webSiteId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovySpaceAroundMapEntryColon351

[SRC]currencyUomId : cart.getCurrency(),

[MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovySpaceAroundMapEntryColon352

[SRC]autoUserLogin : autoUserLogin,

[MSG]The colon for the literal Map entry for key [autoUserLogin] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovySpaceAroundMapEntryColon353

[SRC]productStoreId : productStoreId]

[MSG]The colon for the literal Map entry for key [productStoreId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

MiniProductSummary.groovyUnnecessaryGString359

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString359

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]The String 'showPricesWithVatTax' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString360

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The String 'basePrice' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString360

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The String 'price' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString360

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The String 'locale' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString360

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString360

[SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId])

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString361

[SRC]context.price = priceMap.get("priceWithTax")

[MSG]The String 'priceWithTax' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString363

[SRC]context.price = priceResult.get("price")

[MSG]The String 'price' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString367

[SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) {

[MSG]The String 'AGGREGATED' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString367

[SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) {

[MSG]The String 'AGGREGATED_SERVICE' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString372

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString372

[SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) {

[MSG]The String 'showPricesWithVatTax' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString374

[SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId])

[MSG]The String 'basePrice' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString374

[SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId])

[MSG]The String 'locale' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString374

[SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId])

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString374

[SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId])

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString375

[SRC]context.totalPrice = totalPriceMap.get("priceWithTax")

[MSG]The String 'priceWithTax' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString385

[SRC]context.miniProdFormName = request.getAttribute("miniProdFormName")

[MSG]The String 'miniProdFormName' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyUnnecessaryGString386

[SRC]context.miniProdQuantity = request.getAttribute("miniProdQuantity")

[MSG]The String 'miniProdQuantity' can be wrapped in single quotes instead of double quotes

MiniProductSummary.groovyBlockEndsWithBlankLine391

[MSG]Code block ends with a blank line.

MruAdd.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

MruAdd.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

MruAdd.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

MruAdd.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

MruAdd.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

MruAdd.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

MruAdd.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

MruAdd.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

MruAdd.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

MruAdd.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

MruAdd.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

MruAdd.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports340

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

MruAdd.groovyNoWildcardImports341

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

MruAdd.groovyUnnecessaryGString343

[SRC]lookupCaches = session.getAttribute("lookupCaches")

[MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes

MruAdd.groovyUnnecessaryGString349

[SRC]session.setAttribute("lookupCaches", lookupCaches)

[MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes

MruAdd.groovyUnnecessaryGString366

[SRC]lookupCaches = session.getAttribute("lookupCaches")

[MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes

Mrv.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

Mrv.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

Mrv.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

Mrv.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

Mrv.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

Mrv.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

Mrv.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

Mrv.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

Mrv.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

Mrv.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

Mrv.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

Mrv.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

Mrv.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

Mrv.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

Mrv.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

Mrv.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

Mrv.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

Mrv.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

Mrv.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports338

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

Mrv.groovyNoWildcardImports339

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

Mrv.groovyUnnecessaryGString341

[SRC]entityName = "ContentDataResourceView"

[MSG]The String 'ContentDataResourceView' can be wrapped in single quotes instead of double quotes

Mrv.groovyUnnecessaryGString342

[SRC]lookupCaches = session.getAttribute("lookupCaches")

[MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes

Mrv.groovyUnnecessaryGString346

[SRC]session.setAttribute("lookupCaches", lookupCaches)

[MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes

Mrv.groovyUnnecessaryGString371

[SRC]context.put("mrvList", mrvList)

[MSG]The String 'mrvList' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilProperties

[MSG]The [org.apache.ofbiz.base.util.UtilProperties] import is never referenced

NewCustomer.groovyUnusedImport323

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

NewCustomer.groovyDuplicateImport324

[SRC]import org.apache.ofbiz.base.util.UtilHttp

NewCustomer.groovyUnnecessaryGString331

[SRC]context.createAllowPassword = "Y".equals(productStore.allowPassword)

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString332

[SRC]context.getUsername = !"Y".equals(productStore.usePrimar..ailUsername)

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString336

[SRC]previousParams = "?" + previousParams

[MSG]The String '?' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString338

[SRC]previousParams = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString343

[SRC]userInfoMap = request.getAttribute("userInfoMap")

[MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyCouldBeElvis344

[SRC]if (!userInfoMap) {

[MSG]Code could use elvis operator: userInfoMap = userInfoMap ?: request.getSession().getAttribute(userInfoMap)

NewCustomer.groovyUnnecessaryGString345

[SRC]userInfoMap = request.getSession().getAttribute("userInfoMap")

[MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString357

[SRC]request.getSession().setAttribute("userInfoMap", userInfoMap)

[MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes

NewCustomer.groovyUnnecessaryGString360

[SRC]donePage = "main;" + UtilHttp.getSessionId(request)

[MSG]The String 'main;' can be wrapped in single quotes instead of double quotes

NodeTrailPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

NodeTrailPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

NodeTrailPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

NodeTrailPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

NodeTrailPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

NodeTrailPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

NodeTrailPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

NodeTrailPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

NodeTrailPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

NodeTrailPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

NodeTrailPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

NodeTrailPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports337

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyDuplicateImport338

[SRC]import org.apache.ofbiz.entity.model.*

NodeTrailPrep.groovyNoWildcardImports342

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyNoWildcardImports343

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

NodeTrailPrep.groovyUnnecessaryGString345

[SRC]nodeTrailCsv = ContentManagementWorker.getFromSomewhere(..st, context)

[MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes

NodeTrailPrep.groovyUnnecessaryGString350

[SRC]passedParams = request.getAttribute("passedParams")

[MSG]The String 'passedParams' can be wrapped in single quotes instead of double quotes

NodeTrailPrep.groovySpaceAfterComma361

[SRC]singleWrapper.putInContext("nodeTrailCsv",nodeTrailCsv)

[MSG]The parameter nodeTrailCsv in the call to method putInContext within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace

NodeTrailPrep.groovyUnnecessaryGString361

[SRC]singleWrapper.putInContext("nodeTrailCsv",nodeTrailCsv)

[MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes

NodeTrailPrep.groovyUnnecessaryGString366

[SRC]Map dummy = singleWrapper.getFromContext("dummy")

[MSG]The String 'dummy' can be wrapped in single quotes instead of double quotes

NodeTrailPrep.groovyCouldBeElvis367

[SRC]if (!dummy) {

[MSG]Code could use elvis operator: dummy = dummy ?: [:]

NodeTrailPrep.groovyIndentation368

[SRC]dummy = [:]

[MSG]The statement on line 68 in class org.apache.ofbiz.ecommerce.forum.None is at the incorrect indent level: Expected column 13 but was 12

NodeTrailPrep.groovySpaceAfterComma372

[SRC]singleWrapper.putInContext("dummy",dummy)

[MSG]The parameter dummy in the call to method putInContext within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace

NodeTrailPrep.groovyUnnecessaryGString372

[SRC]singleWrapper.putInContext("dummy",dummy)

[MSG]The String 'dummy' can be wrapped in single quotes instead of double quotes

OnePageCheckoutOptions.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.order.shoppingcart.shipping.*

[MSG]Wildcard (star) import

OnePageCheckoutOptions.groovyUnnecessaryGString323

[SRC]shoppingCart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

OnePageCheckoutOptions.groovyIndentation327

[SRC]shoppingCart.createDropShipGroups(dispatcher)

[MSG]The statement on line 27 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3

OptionSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

OptionSettings.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

OptionSettings.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

OptionSettings.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.order.shoppingcart.shipping.*

[MSG]Wildcard (star) import

OptionSettings.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

OptionSettings.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

OptionSettings.groovyUnnecessaryGString328

[SRC]shoppingCart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

OptionSettings.groovyUnnecessaryGString339

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

OptionSettings.groovyUnnecessaryGString342

[SRC]partyId = session.getAttribute("orderPartyId")

[MSG]The String 'orderPartyId' can be wrapped in single quotes instead of double quotes

OptionSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

OptionSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OptionSettings.groovyUnnecessaryGString348

[SRC]context.emailList = ContactHelper.getContactMechByType(..ESS", false)

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

OrderHistory.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

OrderHistory.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

OrderHistory.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

OrderHistory.groovyUnnecessaryGString326

[SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne()

[MSG]The String 'PartyRole' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString326

[SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString326

[SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString326

[SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne()

[MSG]The String 'SUPPLIER' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString328

[SRC]if ("SUPPLIER".equals(partyRole.roleTypeId)) {

[MSG]The String 'SUPPLIER' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString330

[SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList()

[MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString330

[SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString330

[SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString330

[SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList()

[MSG]The String 'SUPPLIER_AGENT' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString331

[SRC]porderHeaderList = EntityUtil.orderBy(EntityUtil.filterB..ion, false),

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString332

[SRC][EntityCondition.makeCondition("statusId", EntityOperato.._REJECTED"),

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString332

[SRC][EntityCondition.makeCondition("statusId", EntityOperato.._REJECTED"),

[MSG]The String 'ORDER_REJECTED' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString333

[SRC]EntityCondition.makeCondition("orderTypeId", EntityOpera..E_ORDER")]),

[MSG]The String 'orderTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString333

[SRC]EntityCondition.makeCondition("orderTypeId", EntityOpera..E_ORDER")]),

[MSG]The String 'PURCHASE_ORDER' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString334

[SRC]["orderDate DESC"])

[MSG]The String 'orderDate DESC' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString338

[SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList()

[MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString338

[SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString338

[SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString338

[SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList()

[MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString339

[SRC]orderHeaderList = EntityUtil.orderBy(EntityUtil.filterBy..ion, false),

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString340

[SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"])

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString340

[SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"])

[MSG]The String 'ORDER_REJECTED' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString340

[SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"])

[MSG]The String 'orderDate DESC' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'OrderRoleAndProductContentInfo' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'productContentTypeId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'DIGITAL_DOWNLOAD' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderHistory.groovyUnnecessaryGString343

[SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList()

[MSG]The String 'ITEM_COMPLETED' can be wrapped in single quotes instead of double quotes

OrderList.groovyImportFromSamePackage323

[SRC]import org.apache.ofbiz.order.order.OrderListState

OrderStatus.groovyUnnecessaryGroovyImport321

[SRC]import java.math.BigDecimal

OrderStatus.groovyUnusedImport321

[SRC]import java.math.BigDecimal

[MSG]The [java.math.BigDecimal] import is never referenced

OrderStatus.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.accounting.payment.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.order.order.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports329

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

OrderStatus.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

OrderStatus.groovyUnnecessaryGString341

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString341

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString342

[SRC]orderStatuses = orderHeader.getRelated("OrderStatus", nu..null, false)

[MSG]The String 'OrderStatus' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyTrailingWhitespace345

[SRC]

[MSG]Line ends with whitespace characters

OrderStatus.groovyUnnecessaryGString347

[SRC]orderPaymentPreferences = orderHeader.getRelated("OrderP..Id"), false)

[MSG]The String 'OrderPaymentPreference' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString347

[SRC]orderPaymentPreferences = orderHeader.getRelated("OrderP..Id"), false)

[MSG]The String 'orderPaymentPreferenceId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString348

[SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"]))

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString348

[SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"]))

[MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString353

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"]))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString353

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"]))

[MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString353

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"]))

[MSG]The String 'ORDER_APPROVED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString353

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"]))

[MSG]The String 'ORDER_CREATED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString355

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"]))

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString355

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"]))

[MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString355

[SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"]))

[MSG]The String 'ORDER_APPROVED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyTrailingWhitespace356

[SRC]}

[MSG]Line ends with whitespace characters

OrderStatus.groovyUnnecessaryGString360

[SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne()

[MSG]The String 'UserLogin' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString360

[SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne()

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString363

[SRC]if ("ORDER_COMPLETED".equals(orderStatus.statusId)) {

[MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString365

[SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne()

[MSG]The String 'UserLogin' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString365

[SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne()

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyCouldBeElvis380

[SRC]if (!partyId) {

[MSG]Code could use elvis operator: partyId = partyId ?: userLogin.partyId

OrderStatus.groovyUnnecessaryGString390

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString390

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString391

[SRC]if ("PURCHASE_ORDER".equals(orderHeader?.orderTypeId)) {

[MSG]The String 'PURCHASE_ORDER' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString393

[SRC]roleTypeId = "SUPPLIER_AGENT"

[MSG]The String 'SUPPLIER_AGENT' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString396

[SRC]roleTypeId = "PLACING_CUSTOMER"

[MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]The String 'anonymous' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]The String 'anonymous' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3101

[SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3102

[SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst()

[MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3102

[SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3102

[SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3102

[SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3105

[SRC]context.remove("orderHeader")

[MSG]The String 'orderHeader' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The String 'Warning: in OrderStatus.groovy before getting order detail info: role not found or user not logged in; partyId=[' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The String '], userLoginId=[' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The String 'null' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3107

[SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]")

[MSG]The String ']' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3113

[SRC]productStore = orderHeader.getRelatedOne("ProductStore", true)

[MSG]The String 'ProductStore' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3114

[SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore)

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3130

[SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst()

[MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3130

[SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3130

[SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3131

[SRC]placingCustomerPerson = placingCustomerOrderRole == null..).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3131

[SRC]placingCustomerPerson = placingCustomerOrderRole == null..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3133

[SRC]billingAccount = orderHeader.getRelatedOne("BillingAccount", false)

[MSG]The String 'BillingAccount' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3135

[SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")])

[MSG]The String 'OrderPaymentPreference' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3135

[SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")])

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3135

[SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")])

[MSG]The String 'PAYMENT_CANCELLED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3138

[SRC]paymentMethod = opp.getRelatedOne("PaymentMethod", false)

[MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3142

[SRC]paymentMethodType = opp.getRelatedOne("PaymentMethodType", false)

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

OrderStatus.groovySpaceAfterComma3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The parameter shipmentPackageSeqId in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace

OrderStatus.groovySpaceAfterComma3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The parameter trackingCode in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace

OrderStatus.groovySpaceAfterComma3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The parameter boxNumber in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'carrierPartyId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'shipmentMethodTypeId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'trackingCode' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3154

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber")

[MSG]The String 'boxNumber' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3155

[SRC].from("OrderShipmentInfoSummary")

[MSG]The String 'OrderShipmentInfoSummary' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3156

[SRC].where("orderId", orderId)

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3157

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3157

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3157

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3164

[SRC]if (correspondingPoId && !"(none)".equals(correspondingPoId)) {

[MSG]The String '(none)' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3174

[SRC]ritems = oitem.getRelated("ReturnItem", null, null, false)

[MSG]The String 'ReturnItem' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3176

[SRC]rh = ritem.getRelatedOne("ReturnHeader", false)

[MSG]The String 'ReturnHeader' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3177

[SRC]if (!"RETURN_CANCELLED".equals(rh.statusId)) {

[MSG]The String 'RETURN_CANCELLED' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3184

[SRC]context.returnLink = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryObjectReferences3195

[SRC]context.headerAdjustmentsToShow = headerAdjustmentsToShow

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3196

[SRC]context.currencyUomId = orderReadHelper.getCurrency()

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3198

[SRC]context.orderShippingTotal = orderShippingTotal

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3199

[SRC]context.orderTaxTotal = orderTaxTotal

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3200

[SRC]context.orderGrandTotal = OrderReadHelper.getOrderGrandT..Adjustments)

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3201

[SRC]context.placingCustomerPerson = placingCustomerPerson

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3203

[SRC]context.billingAccount = billingAccount

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3204

[SRC]context.paymentMethods = paymentMethods

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3206

[SRC]context.productStore = productStore

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3207

[SRC]context.isDemoStore = isDemoStore

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3209

[SRC]context.orderShipmentInfoSummaryList = orderShipmentInfoSummaryList

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryObjectReferences3210

[SRC]context.customerPoNumberSet = customerPoNumberSet

[MSG]The code could be more concise by using a with() or identity() block

OrderStatus.groovyUnnecessaryGString3212

[SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3212

[SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList()

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

OrderStatus.groovyUnnecessaryGString3212

[SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList()

[MSG]The String 'ODR_ITM_CH_REASON' can be wrapped in single quotes instead of double quotes

OrderView.groovyImportFromSamePackage329

[SRC]import org.apache.ofbiz.order.order.OrderReadHelper

OrderViewWebSecure.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.order.order.OrderContentWrapper

OwnerContentPrep.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyUnusedImport326

[SRC]import org.apache.ofbiz.content.data.DataResourceWorker

[MSG]The [org.apache.ofbiz.content.data.DataResourceWorker] import is never referenced

OwnerContentPrep.groovyUnusedImport327

[SRC]import org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler

[MSG]The [org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler] import is never referenced

OwnerContentPrep.groovyUnusedImport328

[SRC]import org.apache.ofbiz.content.content.ContentWorker

[MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced

OwnerContentPrep.groovyUnnecessaryGroovyImport331

[SRC]import java.io.StringWriter

OwnerContentPrep.groovyUnusedImport331

[SRC]import java.io.StringWriter

[MSG]The [java.io.StringWriter] import is never referenced

OwnerContentPrep.groovyUnusedImport332

[SRC]import freemarker.ext.beans.BeansWrapper

[MSG]The [freemarker.ext.beans.BeansWrapper] import is never referenced

OwnerContentPrep.groovyUnusedImport333

[SRC]import freemarker.template.SimpleHash

[MSG]The [freemarker.template.SimpleHash] import is never referenced

OwnerContentPrep.groovyUnusedImport334

[SRC]import freemarker.template.WrappingTemplateModel

[MSG]The [freemarker.template.WrappingTemplateModel] import is never referenced

OwnerContentPrep.groovyNoWildcardImports336

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyNoWildcardImports337

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

OwnerContentPrep.groovyUnnecessaryGString350

[SRC]departmentPointList = ContentManagementWorker.getPermitt..ATE", null )

[MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes

OwnerContentPrep.groovyUnnecessaryGString369

[SRC]lineMap2.description = "&nbsp;&nbsp;&nbsp;-" + description2

[MSG]The String '&nbsp;&nbsp;&nbsp;-' can be wrapped in single quotes instead of double quotes

OwnerContentPrep.groovyUnnecessaryGString378

[SRC]singleWrapper.putInContext("ownerContentList", ownerContentList)

[MSG]The String 'ownerContentList' can be wrapped in single quotes instead of double quotes

OwnerContentPrep.groovyUnnecessaryGString379

[SRC]singleWrapper.putInContext("pubPt", pubPt)

[MSG]The String 'pubPt' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString321

[SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString321

[SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList()

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString321

[SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList()

[MSG]The String 'POS_PAID_REASON_IN' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString321

[SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList()

[MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString322

[SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList()

[MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString322

[SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList()

[MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString322

[SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList()

[MSG]The String 'POS_PAID_REASON_OUT' can be wrapped in single quotes instead of double quotes

PaidOutAndIn.groovyUnnecessaryGString322

[SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList()

[MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes

PartyInvitationServices.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.party.party.PartyHelper

PartyServicesScript.groovyImportFromSamePackage332

[SRC]import org.apache.ofbiz.party.party.PartyHelper

PaymentInformation.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

PaymentInformation.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

PaymentInformation.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

PaymentInformation.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.accounting.payment.*

[MSG]Wildcard (star) import

PaymentInformation.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

PaymentInformation.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

PaymentInformation.groovyCouldBeElvis334

[SRC]if (!partyId) {

[MSG]Code could use elvis operator: partyId = partyId ?: userLogin.partyId

PaymentInformation.groovyUnnecessaryGString339

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString340

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString340

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString341

[SRC]person = party.getRelatedOne("Person", false)

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString347

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString351

[SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne()

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString351

[SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString352

[SRC]context.useEntityFields = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString356

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString356

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString356

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString356

[SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString368

[SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString369

[SRC]account = paymentMethod.getRelatedOne("CreditCard", false)

[MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString371

[SRC]context.paymentMethodTypeId = "CREDIT_CARD"

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString372

[SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString373

[SRC]account = paymentMethod.getRelatedOne("EftAccount", false)

[MSG]The String 'EftAccount' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString375

[SRC]context.paymentMethodTypeId = "EFT_ACCOUNT"

[MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString376

[SRC]} else if ("GIFT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString377

[SRC]account = paymentMethod.getRelatedOne("GiftCard", false)

[MSG]The String 'GiftCard' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString379

[SRC]context.paymentMethodTypeId = "GIFT_CARD"

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString380

[SRC]context.addGiftCard = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString382

[SRC]context.paymentMethodTypeId = "EXT_OFFLINE"

[MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyUnnecessaryGString385

[SRC]address = account.getRelatedOne("PostalAddress", false)

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyInvertedIfElse392

[SRC]if (!parameters.useShipAddr) {

[MSG]Testing the negative condition first can make an if statement confusing

PaymentInformation.groovyUnnecessaryGString398

[SRC]context.useShipAddr = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

PaymentInformation.groovyIndentation3116

[SRC]context.callSubmitForm = true

[MSG]The statement on line 116 in class org.apache.ofbiz.ecommerce.order.None is at the incorrect indent level: Expected column 9 but was 8

PaymentOptions.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

PaymentOptions.groovyUnnecessaryGString328

[SRC]if ("GIFT_CARD".equals(paymentMethodTypeId)) {

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

PaymentOptions.groovyUnnecessaryGString329

[SRC]context.addGiftCard = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

PermPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

PermPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

PermPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

PermPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

PermPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

PermPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

PermPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

PermPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

PermPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

PermPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

PermPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

PermPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

PermPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

PermPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

PermPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

PermPrep.groovyUnusedImport336

[SRC]import org.apache.ofbiz.content.content.PermissionRecorder

[MSG]The [org.apache.ofbiz.content.content.PermissionRecorder] import is never referenced

PermPrep.groovyNoWildcardImports339

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

PermPrep.groovyNoWildcardImports340

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

PermPrep.groovyUnnecessaryGString347

[SRC]permissionType = context.permissionType ?: "simple"

[MSG]The String 'simple' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString356

[SRC]currentValue = request.getAttribute("currentValue")

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString360

[SRC]if ("add".equals(mode)) {

[MSG]The String 'add' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString361

[SRC]entityOperation = context.addEntityOperation ?: context...?: "_CREATE"

[MSG]The String '_CREATE' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString362

[SRC]targetOperation = context.addTargetOperation ?: context...TENT_CREATE"

[MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString362

[SRC]targetOperation = context.addTargetOperation ?: context...TENT_CREATE"

[MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes

PermPrep.groovyCouldBeElvis365

[SRC]if (!entityOperation) {

[MSG]Code could use elvis operator: entityOperation = entityOperation ?: '_UPDATE'

PermPrep.groovyUnnecessaryGString366

[SRC]entityOperation = "_UPDATE"

[MSG]The String '_UPDATE' can be wrapped in single quotes instead of double quotes

PermPrep.groovyCouldBeElvis368

[SRC]if (!targetOperation) {

[MSG]Code could use elvis operator: targetOperation = targetOperation ?: 'CONTENT_UPDATE'

PermPrep.groovyUnnecessaryGString369

[SRC]targetOperation = "CONTENT_UPDATE"

[MSG]The String 'CONTENT_UPDATE' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString373

[SRC]if ("complex".equals(permissionType)) {

[MSG]The String 'complex' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString376

[SRC]targetOperationList = StringUtil.split(targetOperation, "|")

[MSG]The String '|' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString384

[SRC]if (!currentValue || !"Content".equals(entityName)) {

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

PermPrep.groovyCouldBeElvis389

[SRC]} else if (!thisContentId) {

[MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(subContentId, paramMap, request, context)

PermPrep.groovyUnnecessaryGString390

[SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context)

[MSG]The String 'subContentId' can be wrapped in single quotes instead of double quotes

PermPrep.groovyCouldBeElvis391

[SRC]} else if (!thisContentId) {

[MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(contentIdTo, paramMap, request, context)

PermPrep.groovyUnnecessaryGString392

[SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context)

[MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes

PermPrep.groovyCouldBeElvis393

[SRC]} else if (!thisContentId) {

[MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(contentId, paramMap, request, context)

PermPrep.groovyUnnecessaryGString394

[SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context)

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3102

[SRC]if (!currentValue || !"Content".equals(entityName)) {

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3104

[SRC]currentValue = from("Content").where("contentId", thisCo..).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3104

[SRC]currentValue = from("Content").where("contentId", thisCo..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3107

[SRC]if ("add".equals(mode)) {

[MSG]The String 'add' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3119

[SRC]if ("Content".equals(currentValue?.getEntityName())) {

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3126

[SRC]mapIncontentPurposeList = StringUtil.split(contentPurposeTypeId, "|")

[MSG]The String '|' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3133

[SRC]if ("granted".equals(permissionStatus)) {

[MSG]The String 'granted' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3135

[SRC]request.setAttribute("hasPermission", true)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3136

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3136

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'granted' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3139

[SRC]request.setAttribute("hasPermission", false)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3140

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3140

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String '' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3141

[SRC]errorMessage = "Permission to display:" + page.getPageNa.. is denied."

[MSG]The String 'Permission to display:' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3141

[SRC]errorMessage = "Permission to display:" + page.getPageNa.. is denied."

[MSG]The String ' is denied.' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3147

[SRC]errorMessage += " \n " + permissionMessage

[MSG]The String ' \n ' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3149

[SRC]request.setAttribute("errorMsgReq", errorMessage)

[MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3158

[SRC]request.setAttribute("hasPermission", true)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3159

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3159

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'granted' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3163

[SRC]request.setAttribute("hasPermission", false)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3164

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

PermPrep.groovyUnnecessaryGString3164

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String '' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGroovyImport321

[SRC]import java.util.List

PopularTags.groovyUnusedImport321

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

PopularTags.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

PopularTags.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

PopularTags.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

PopularTags.groovyUnusedImport325

[SRC]import org.apache.ofbiz.entity.util.EntityUtil

[MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced

PopularTags.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.entity.transaction.*

[MSG]Wildcard (star) import

PopularTags.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

PopularTags.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.base.util.string.*

[MSG]Wildcard (star) import

PopularTags.groovyNoWildcardImports329

[SRC]import org.apache.ofbiz.content.content.*

[MSG]Wildcard (star) import

PopularTags.groovyUnusedImport330

[SRC]import org.apache.commons.lang.StringEscapeUtils

[MSG]The [org.apache.commons.lang.StringEscapeUtils] import is never referenced

PopularTags.groovyUnnecessaryGString333

[SRC]int minFontSize = EntityUtilProperties.getPropertyAsInte..).intValue()

[MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString333

[SRC]int minFontSize = EntityUtilProperties.getPropertyAsInte..).intValue()

[MSG]The String 'tagcloud.min.fontsize' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString334

[SRC]int maxFontSize = EntityUtilProperties.getPropertyAsInte..).intValue()

[MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString334

[SRC]int maxFontSize = EntityUtilProperties.getPropertyAsInte..).intValue()

[MSG]The String 'tagcloud.max.fontsize' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString335

[SRC]int limitTagCloud = EntityUtilProperties.getPropertyAsIn..).intValue()

[MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString335

[SRC]int limitTagCloud = EntityUtilProperties.getPropertyAsIn..).intValue()

[MSG]The String 'tagcloud.limit' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString340

[SRC]productKeywords = select("keyword", "keywordTypeId", "statusId")

[MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString340

[SRC]productKeywords = select("keyword", "keywordTypeId", "statusId")

[MSG]The String 'keywordTypeId' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString340

[SRC]productKeywords = select("keyword", "keywordTypeId", "statusId")

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString341

[SRC].from("ProductKeyword")

[MSG]The String 'ProductKeyword' can be wrapped in single quotes instead of double quotes

PopularTags.groovySpaceAroundMapEntryColon342

[SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED")

[MSG]The colon for the literal Map entry for key [keywordTypeId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

PopularTags.groovySpaceAroundMapEntryColon342

[SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED")

[MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S]

PopularTags.groovyUnnecessaryGString342

[SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED")

[MSG]The String 'KWT_TAG' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString342

[SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED")

[MSG]The String 'KW_APPROVED' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString343

[SRC].orderBy("keyword")

[MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'ProductKeyword' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'keywordTypeId' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'KWT_TAG' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

PopularTags.groovyUnnecessaryGString349

[SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList()

[MSG]The String 'KW_APPROVED' can be wrapped in single quotes instead of double quotes

PopularTags.groovySpaceAfterComma359

[SRC]tagList.sort{ a,b -> b.countTag <=> a.countTag }

[MSG]The closure parameter b within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

PopularTags.groovySpaceBeforeOpeningBrace359

[SRC]tagList.sort{ a,b -> b.countTag <=> a.countTag }

[MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

PopularTags.groovySpaceAfterOpeningBrace381

[SRC]tagCloudList = tagCloudList.sort{it.tag}

[MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

PopularTags.groovySpaceBeforeClosingBrace381

[SRC]tagCloudList = tagCloudList.sort{it.tag}

[MSG]The closing brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

PopularTags.groovySpaceBeforeOpeningBrace381

[SRC]tagCloudList = tagCloudList.sort{it.tag}

[MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

PrintFixedAssetMaint.groovyUnnecessaryGString321

[SRC]facility = fixedAsset.getRelatedOne("LocatedAtFacility", false)

[MSG]The String 'LocatedAtFacility' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString324

[SRC]fixedAssetIdents = from("FixedAssetIdent").where("fixedA...queryList()

[MSG]The String 'FixedAssetIdent' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString324

[SRC]fixedAssetIdents = from("FixedAssetIdent").where("fixedA...queryList()

[MSG]The String 'fixedAssetId' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString325

[SRC]fixedAssetIdentValue = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString328

[SRC]fixedAssetIdentValue = fixedAssetIdentValue + " " + ident.idValue

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString333

[SRC]status = fixedAssetMaint.getRelatedOne("StatusItem", false)

[MSG]The String 'StatusItem' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString339

[SRC]intervalUom = fixedAssetMaint.getRelatedOne("IntervalUom", false)

[MSG]The String 'IntervalUom' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString347

[SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne()

[MSG]The String 'ProductMaint' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString347

[SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString347

[SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne()

[MSG]The String 'productMaintSeqId' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString353

[SRC]productMaintType = from("ProductMaintType").where("produ..).queryOne()

[MSG]The String 'ProductMaintType' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString353

[SRC]productMaintType = from("ProductMaintType").where("produ..).queryOne()

[MSG]The String 'productMaintTypeId' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString361

[SRC]productMeterTypeDesc = ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString363

[SRC]productMeterType = from("ProductMeterType").where("produ..).queryOne()

[MSG]The String 'ProductMeterType' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString363

[SRC]productMeterType = from("ProductMeterType").where("produ..).queryOne()

[MSG]The String 'productMeterTypeId' can be wrapped in single quotes instead of double quotes

PrintFixedAssetMaint.groovyUnnecessaryGString368

[SRC]scheduleWorkEffort = fixedAssetMaint.getRelatedOne("Sche..ort", false)

[MSG]The String 'ScheduleWorkEffort' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

ProcessPaymentSettings.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

ProcessPaymentSettings.groovyUnnecessaryGroovyImport322

[SRC]import java.util.HashMap

ProcessPaymentSettings.groovyUnusedImport322

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

ProcessPaymentSettings.groovyUnnecessaryGroovyImport323

[SRC]import java.util.List

ProcessPaymentSettings.groovyUnusedImport323

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

ProcessPaymentSettings.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Map

ProcessPaymentSettings.groovyUnusedImport324

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

ProcessPaymentSettings.groovyUnusedImport327

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

ProcessPaymentSettings.groovyUnusedImport328

[SRC]import org.apache.ofbiz.entity.Delegator

[MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced

ProcessPaymentSettings.groovyUnusedImport329

[SRC]import org.apache.ofbiz.entity.GenericValue

[MSG]The [org.apache.ofbiz.entity.GenericValue] import is never referenced

ProcessPaymentSettings.groovyUnusedImport331

[SRC]import org.apache.ofbiz.order.shoppingcart.ShoppingCart

[MSG]The [org.apache.ofbiz.order.shoppingcart.ShoppingCart] import is never referenced

ProcessPaymentSettings.groovyUnusedImport333

[SRC]import org.apache.ofbiz.service.LocalDispatcher

[MSG]The [org.apache.ofbiz.service.LocalDispatcher] import is never referenced

ProcessPaymentSettings.groovyUnnecessaryGString338

[SRC]dispatcher = request.getAttribute("dispatcher")

[MSG]The String 'dispatcher' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString339

[SRC]delegator = request.getAttribute("delegator")

[MSG]The String 'delegator' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString348

[SRC]paymentMethodId = request.getAttribute("paymentMethodId")

[MSG]The String 'paymentMethodId' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString349

[SRC]if ("EXT_OFFLINE".equals(paymentMethodTypeId)) {

[MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString350

[SRC]paymentMethodId = "EXT_OFFLINE"

[MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString354

[SRC]isSingleUsePayment = "Y".equalsIgnoreCase(singleUsePayment) ?: false

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString355

[SRC]doAppendPayment = "Y".equalsIgnoreCase(appendPayment) ?: false

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString365

[SRC]if ("Y".equalsIgnoreCase(addGiftCard)) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovySpaceAroundMapEntryColon366

[SRC]selPaymentMethods = [paymentMethodTypeId : null]

[MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.ecommerce.None is not preceded by a match for regular expression [\S]

ProcessPaymentSettings.groovyUnnecessaryGString383

[SRC]return "error"

[MSG]The String 'error' can be wrapped in single quotes instead of double quotes

ProcessPaymentSettings.groovyUnnecessaryGString385

[SRC]return "success"

[MSG]The String 'success' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString331

[SRC]EntityCondition.makeCondition("productId", EntityOperato.. productId),

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString332

[SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null),

[MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString335

[SRC]entryIterator = from("ProjectSprintBacklogTaskAndTimeEnt..ryIterator()

[MSG]The String 'ProjectSprintBacklogTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString335

[SRC]entryIterator = from("ProjectSprintBacklogTaskAndTimeEnt..ryIterator()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString337

[SRC]invoice = entryItem.getRelatedOne("Invoice", false)

[MSG]The String 'Invoice' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString338

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]The String 'INVOICE_IN_PROCESS' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString338

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyNoDef351

[SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId))

[MSG]def for declaration should not be used

ProductBilling.groovyVariableTypeRequired351

[SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId))

[MSG]The type is not specified for variable "taskConds"

ProductBilling.groovyUnnecessaryGString351

[SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId))

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString352

[SRC]taskConds.add(EntityCondition.makeCondition("invoiceId", null))

[MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString353

[SRC]taskConds.add(EntityCondition.makeCondition("timesheetSt..COMPLETED"))

[MSG]The String 'timesheetStatusId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString353

[SRC]taskConds.add(EntityCondition.makeCondition("timesheetSt..COMPLETED"))

[MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString357

[SRC]fromDate = fromDate + " " + "00:00:00.000"

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString357

[SRC]fromDate = fromDate + " " + "00:00:00.000"

[MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString359

[SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..(fromDate)))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString364

[SRC]thruDate = thruDate + " " + "00:00:00.000"

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString364

[SRC]thruDate = thruDate + " " + "00:00:00.000"

[MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString366

[SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..(thruDate)))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString368

[SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..t.thruDate))

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString371

[SRC]if ("N".equals(includeMeeting)) {

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString372

[SRC]taskConds.add(EntityCondition.makeCondition("custRequest.._MEETINGS"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString372

[SRC]taskConds.add(EntityCondition.makeCondition("custRequest.._MEETINGS"))

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyNoDef375

[SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList()

[MSG]def for declaration should not be used

ProductBilling.groovyVariableTypeRequired375

[SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList()

[MSG]The type is not specified for variable "sprintTasks"

ProductBilling.groovyUnnecessaryGString375

[SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList()

[MSG]The String 'ProjectSprintBacklogTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyNoDef378

[SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList()

[MSG]def for declaration should not be used

ProductBilling.groovyVariableTypeRequired378

[SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList()

[MSG]The type is not specified for variable "cancelledBacklogTasks"

ProductBilling.groovyUnnecessaryGString378

[SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList()

[MSG]The String 'CancelledBacklogsTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyNoDef381

[SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList()

[MSG]def for declaration should not be used

ProductBilling.groovyVariableTypeRequired381

[SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList()

[MSG]The type is not specified for variable "unplannedTasks"

ProductBilling.groovyUnnecessaryGString381

[SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList()

[MSG]The String 'UnPlannedBacklogsTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyNoDef383

[SRC]def hoursNotYetBilledTasks = []

[MSG]def for declaration should not be used

ProductBilling.groovyVariableTypeRequired383

[SRC]def hoursNotYetBilledTasks = []

[MSG]The type is not specified for variable "hoursNotYetBilledTasks"

ProductBilling.groovySpaceAfterComma387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductBilling.groovySpaceAfterComma387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The list element taskId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductBilling.groovySpaceAfterComma387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The list element fromDate within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductBilling.groovyUnnecessaryGString387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString387

[SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ProductBilling.groovyUnnecessaryGString390

[SRC]timeEntryList = UtilMisc.sortMaps(hoursNotYetBilledTasks.."fromDate"])

[MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ProductCategories.groovyNoWildcardImports328

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

ProductCategories.groovyNoWildcardImports329

[SRC]import org.apache.ofbiz.product.category.*

[MSG]Wildcard (star) import

ProductCategories.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ProductCategories.groovyMethodParameterTypeRequired332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]"rootCat" parameter of "fillTree" method is dynamically typed

ProductCategories.groovyMethodParameterTypeRequired332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]"CatLvl" parameter of "fillTree" method is dynamically typed

ProductCategories.groovyMethodParameterTypeRequired332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]"parentCategoryId" parameter of "fillTree" method is dynamically typed

ProductCategories.groovyNoDef332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]def for method parameter type should not be used

ProductCategories.groovyNoDef332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]def for method parameter type should not be used

ProductCategories.groovyNoDef332

[SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) {

[MSG]def for method parameter type should not be used

ProductCategories.groovySpaceAfterIf333

[SRC]if(rootCat) {

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovySpaceBeforeOpeningBrace334

[SRC]rootCat.sort{ it.productCategoryId }

[MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovyNoDef335

[SRC]def listTree = []

[MSG]def for declaration should not be used

ProductCategories.groovyVariableTypeRequired335

[SRC]def listTree = []

[MSG]The type is not specified for variable "listTree"

ProductCategories.groovySpaceAfterFor336

[SRC]for(root in rootCat) {

[MSG]The for keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovyUnnecessaryGString337

[SRC]preCatChilds = from("ProductCategoryRollup").where("pare...queryList()

[MSG]The String 'ProductCategoryRollup' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString337

[SRC]preCatChilds = from("ProductCategoryRollup").where("pare...queryList()

[MSG]The String 'parentProductCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovySpaceAfterComma338

[SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false)

[MSG]The parameter null in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAfterComma338

[SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false)

[MSG]The parameter preCatChilds in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAfterComma338

[SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false)

[MSG]The parameter false in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovyUnnecessaryGString338

[SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false)

[MSG]The String 'CurrentProductCategory' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyNoDef339

[SRC]def childList = []

[MSG]def for declaration should not be used

ProductCategories.groovyVariableTypeRequired339

[SRC]def childList = []

[MSG]The type is not specified for variable "childList"

ProductCategories.groovyTrailingWhitespace340

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovySpaceAfterIf342

[SRC]if(catChilds) {

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovySpaceAfterIf343

[SRC]if(CatLvl==2)

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovySpaceAroundOperator343

[SRC]if(CatLvl==2)

[MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator343

[SRC]if(CatLvl==2)

[MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAfterComma344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovyUnnecessaryGString344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The String '/' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString344

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ProductCategories.groovySpaceAfterIf346

[SRC]else if(CatLvl==1)

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovySpaceAroundOperator346

[SRC]else if(CatLvl==1)

[MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator346

[SRC]else if(CatLvl==1)

[MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAfterComma347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAroundOperator347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovyUnnecessaryGString347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The String '/' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString347

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ProductCategories.groovySpaceAfterComma349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace

ProductCategories.groovySpaceAroundOperator349

[SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId)

[MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace

ProductCategories.groovyTrailingWhitespace351

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovyUnnecessaryGString352

[SRC]productsInCat = from("ProductCategoryAndMember").where(...queryList()

[MSG]The String 'ProductCategoryAndMember' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString352

[SRC]productsInCat = from("ProductCategoryAndMember").where(...queryList()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyTrailingWhitespace353

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovySpaceAfterIf355

[SRC]if(productsInCat || childList) {

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovyNoDef356

[SRC]def rootMap = [:]

[MSG]def for declaration should not be used

ProductCategories.groovyVariableTypeRequired356

[SRC]def rootMap = [:]

[MSG]The type is not specified for variable "rootMap"

ProductCategories.groovyUnnecessaryGString357

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString357

[SRC]category = from("ProductCategory").where("productCategor..).queryOne()

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString359

[SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html")

[MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString359

[SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString360

[SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html")

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString360

[SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyTrailingWhitespace361

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovySpaceAfterIf362

[SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString())

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovyUnnecessaryGString362

[SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString())

[MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString362

[SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString())

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString363

[SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html")

[MSG]The String 'categoryName' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString363

[SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html")

[MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString363

[SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString365

[SRC]rootMap["categoryName"] = root.categoryName

[MSG]The String 'categoryName' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyTrailingWhitespace366

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovySpaceAfterIf367

[SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString())

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space

ProductCategories.groovyUnnecessaryGString367

[SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString())

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString367

[SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString())

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString368

[SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html")

[MSG]The String 'categoryDescription' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString368

[SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html")

[MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString368

[SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html")

[MSG]The String 'html' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString370

[SRC]rootMap["categoryDescription"] = root.description

[MSG]The String 'categoryDescription' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyTrailingWhitespace371

[SRC]

[MSG]Line ends with whitespace characters

ProductCategories.groovyUnnecessaryGString372

[SRC]rootMap["productCategoryId"] = root.productCategoryId

[MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString373

[SRC]rootMap["parentCategoryId"] = parentCategoryId

[MSG]The String 'parentCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString374

[SRC]rootMap["child"] = childList

[MSG]The String 'child' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString383

[SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true)

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString384

[SRC]curCategoryId = parameters.category_id ?: parameters.CATEGORY_ID ?: ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString385

[SRC]request.setAttribute("curCategoryId", curCategoryId)

[MSG]The String 'curCategoryId' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString388

[SRC]categoryList = request.getAttribute("topLevelList")

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

ProductCategories.groovyUnnecessaryGString393

[SRC]completedTree = fillTree(categoryList, 1, "")

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnusedImport322

[SRC]import org.apache.ofbiz.base.util.UtilValidate

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

ProductEmail.groovySpaceBeforeOpeningBrace329

[SRC]try{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovyIndentation332

[SRC]context.product = from("Product").where("productId", pro..).queryOne()

[MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 9

ProductEmail.groovyUnnecessaryGString332

[SRC]context.product = from("Product").where("productId", pro..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString332

[SRC]context.product = from("Product").where("productId", pro..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString334

[SRC]communicationEvent = from("CommunicationEvent").where("c..).queryOne()

[MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString334

[SRC]communicationEvent = from("CommunicationEvent").where("c..).queryOne()

[MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString335

[SRC]communicationEvent.communicationEventTypeId = "EMAIL_COMMUNICATION"

[MSG]The String 'EMAIL_COMMUNICATION' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString336

[SRC]communicationEvent.contactMechTypeId = "EMAIL_ADDRESS"

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

ProductEmail.groovySpaceAfterComma338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The parameter partyId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovySpaceAfterComma338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovyUnnecessaryGString338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString338

[SRC]checkOwner = from("ProductRole").where("productId", prod...queryList()

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyTrailingWhitespace341

[SRC]

[MSG]Line ends with whitespace characters

ProductEmail.groovySpaceAfterComma343

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovyUnnecessaryGString343

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString343

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString343

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString343

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString345

[SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne()

[MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString345

[SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne()

[MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovySpaceAroundMapEntryColon351

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon351

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovyUnnecessaryGString351

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString351

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ProductEmail.groovySpaceAfterComma358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The map entry contactMechPurposeTypeId:SUPPORT_EMAIL within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovySpaceAroundMapEntryColon358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not followed by a match for regular expression [\s]

ProductEmail.groovySpaceAroundMapEntryColon358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovyUnnecessaryGString358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The String 'SUPPORT_EMAIL' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString358

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyTrailingWhitespace368

[SRC]

[MSG]Line ends with whitespace characters

ProductEmail.groovySpaceAfterComma372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The map entry contactMechPurposeTypeId:SUPPORT_EMAIL within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovySpaceAroundMapEntryColon372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not followed by a match for regular expression [\s]

ProductEmail.groovySpaceAroundMapEntryColon372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovyUnnecessaryGString372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'SUPPORT_EMAIL' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString372

[SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ProductEmail.groovySpaceAfterComma378

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovyUnnecessaryGString378

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString378

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString378

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString378

[SRC]productRole = from("ProductRole").where("productId", pro...queryList()

[MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString380

[SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne()

[MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString380

[SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne()

[MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovySpaceAfterIf381

[SRC]if(parentCom){

[MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

ProductEmail.groovySpaceBeforeOpeningBrace381

[SRC]if(parentCom){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

ProductEmail.groovyIndentation384

[SRC]context.partyIdTo = parentCom.partyIdFrom

[MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 18

ProductEmail.groovyIndentation386

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin])

[MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12

ProductEmail.groovySpaceAroundMapEntryColon386

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovySpaceAroundMapEntryColon386

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S]

ProductEmail.groovyUnnecessaryGString386

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin])

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString386

[SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin])

[MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyIndentation387

[SRC]if (resultsIdTo.contactMechId != null) {

[MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12

ProductEmail.groovyIndentation388

[SRC]context.contactMechIdTo = resultsIdTo.contactMechId

[MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 15

ProductEmail.groovyIndentation389

[SRC]communicationEvent.contactMechIdTo = resultsIdTo.contactMechId

[MSG]The statement on line 89 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 15

ProductEmail.groovyIndentation391

[SRC]communicationEvent.store()

[MSG]The statement on line 91 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12

ProductEmail.groovyIndentation392

[SRC]context.communicationEvent = communicationEvent

[MSG]The statement on line 92 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12

ProductEmail.groovyUnnecessaryGString396

[SRC]logInfo("catch exeption ================" + exeption)

[MSG]The String 'catch exeption ================' can be wrapped in single quotes instead of double quotes

ProductEmail.groovyUnnecessaryGString398

[SRC]logInfo("catch GenericEntityException ================" ..etMessage())

[MSG]The String 'catch GenericEntityException ================' can be wrapped in single quotes instead of double quotes

ProductionRunAllFixedAssets.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

ProductionRunDeclaration.groovyImportFromSamePackage326

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

ProductionRunTaskParties.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

ProductionRunTasks.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

ProductsExportToEbayScript.groovyBlankLineBeforePackage318

[MSG]Blank line precedes package declaration in file ProductsExportToEbayScript.groovy

ProductsExportToEbayScript.groovyUnnecessaryGString328

[SRC]webSiteList = from("WebSite").where("productStoreId", pr...queryList()

[MSG]The String 'WebSite' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString328

[SRC]webSiteList = from("WebSite").where("productStoreId", pr...queryList()

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString330

[SRC]webSite = from("WebSite").where("webSiteId", parameters...).queryOne()

[MSG]The String 'WebSite' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString330

[SRC]webSite = from("WebSite").where("webSiteId", parameters...).queryOne()

[MSG]The String 'webSiteId' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString342

[SRC]countryCode = "US"

[MSG]The String 'US' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString346

[SRC]eBayConfig = from("EbayConfig").where("productStoreId", ..).queryOne()

[MSG]The String 'EbayConfig' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString346

[SRC]eBayConfig = from("EbayConfig").where("productStoreId", ..).queryOne()

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString348

[SRC]context.webSiteUrl = webSite.getString("standardContentPrefix")

[MSG]The String 'standardContentPrefix' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyTrailingWhitespace349

[SRC]

[MSG]Line ends with whitespace characters

ProductsExportToEbayScript.groovyTrailingWhitespace353

[SRC]

[MSG]Line ends with whitespace characters

ProductsExportToEbayScript.groovySpaceAroundMapEntryColon355

[SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId])

[MSG]The colon for the literal Map entry for key [categoryCode] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S]

ProductsExportToEbayScript.groovySpaceAroundMapEntryColon355

[SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S]

ProductsExportToEbayScript.groovySpaceAroundMapEntryColon355

[SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId])

[MSG]The colon for the literal Map entry for key [productStoreId] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S]

ProductsExportToEbayScript.groovyTrailingWhitespace357

[SRC]

[MSG]Line ends with whitespace characters

ProductsExportToEbayScript.groovyTrailingWhitespace361

[SRC]

[MSG]Line ends with whitespace characters

ProductsExportToEbayScript.groovyUnnecessaryGString363

[SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) {

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString363

[SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) {

[MSG]The String '' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString364

[SRC]context.hideExportOptions = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString366

[SRC]context.hideExportOptions = "N"

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyUnnecessaryGString369

[SRC]context.hideExportOptions = "N"

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ProductsExportToEbayScript.groovyTrailingWhitespace370

[SRC]}

[MSG]Line ends with whitespace characters

ProjectBilling.groovyConsecutiveBlankLines321

[MSG]File ProjectBilling.groovy has consecutive blank lines

ProjectBilling.groovyUnnecessaryGString330

[SRC]EntityCondition.makeCondition("projectId", EntityOperato.. projectId),

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString331

[SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null),

[MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString333

[SRC]orderBy = ["-fromDate"]

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString335

[SRC]entryIterator = from("ProjectPhaseTaskAndTimeEntryTimeSheet")

[MSG]The String 'ProjectPhaseTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString337

[SRC]EntityCondition.makeCondition("projectId", EntityOperato.. projectId),

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString338

[SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null),

[MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString340

[SRC].orderBy("-fromDate")

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString343

[SRC]invoice = entryItem.getRelatedOne("Invoice", false)

[MSG]The String 'Invoice' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString344

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]The String 'INVOICE_IN_PROCESS' can be wrapped in single quotes instead of double quotes

ProjectBilling.groovyUnnecessaryGString344

[SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) {

[MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes

ProjectIsBillable.groovyUnnecessaryGString321

[SRC]projectMembers = from("WorkEffortPartyAssignment").where...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

ProjectIsBillable.groovyUnnecessaryGString321

[SRC]projectMembers = from("WorkEffortPartyAssignment").where...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

ProjectIsBillable.groovySpaceAfterOpeningBrace325

[SRC]projectMembers.each {member ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace

ProjectIsBillable.groovyUnnecessaryGString326

[SRC]if ("INTERNAL_ORGANIZATIO".equals(member.roleTypeId)) {

[MSG]The String 'INTERNAL_ORGANIZATIO' can be wrapped in single quotes instead of double quotes

ProjectIsBillable.groovyUnnecessaryGString329

[SRC]if ("CLIENT_BILLING".equals(member.roleTypeId)) {

[MSG]The String 'CLIENT_BILLING' can be wrapped in single quotes instead of double quotes

ProjectIsBillable.groovySpaceBeforeOpeningBrace334

[SRC]} else if (!toPartyId || !fromPartyId){

[MSG]The opening brace for the block in class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace

ProjectIsBillable.groovyTrailingWhitespace336

[SRC]} else {

[MSG]Line ends with whitespace characters

PubInit.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

PubInit.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

PubInit.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

PubInit.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

PubInit.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

PubInit.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

PubInit.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

PubInit.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

PubInit.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

PubInit.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

PubInit.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

PubInit.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

PubInit.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

PubInit.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

PubInit.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

PubInit.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

PubInit.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

PubInit.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

PubInit.groovyNoWildcardImports330

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports337

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

PubInit.groovyDuplicateImport338

[SRC]import org.apache.ofbiz.entity.model.*

PubInit.groovyNoWildcardImports341

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

PubInit.groovyNoWildcardImports342

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

PubInit.groovyUnnecessaryGString349

[SRC]session.setAttribute("rootPubId", rootForumId)

[MSG]The String 'rootPubId' can be wrapped in single quotes instead of double quotes

PubInit.groovyUnnecessaryGString350

[SRC]request.setAttribute("rootPubId", rootForumId)

[MSG]The String 'rootPubId' can be wrapped in single quotes instead of double quotes

PubInit.groovyUnnecessaryGString351

[SRC]forumId = ContentManagementWorker.getFromSomewhere("foru..st, context)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

PubInit.groovyUnnecessaryGString356

[SRC]session.setAttribute("forumId", forumId)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

PubInit.groovyUnnecessaryGString357

[SRC]request.setAttribute("forumId", forumId)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovySpaceAfterClosingBrace321

[SRC]try{

[MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

QuickAddBacklog.groovySpaceBeforeOpeningBrace321

[SRC]try{

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAfterComma324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The parameter currentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyUnnecessaryGString324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString324

[SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList()

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovySpaceBeforeOpeningBrace326

[SRC]sprintList.each{ sprintMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation330

[SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList()

[MSG]The statement on line 30 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyUnnecessaryGString330

[SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList()

[MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString330

[SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyIndentation331

[SRC]projectMap = projectList[0]

[MSG]The statement on line 31 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyIndentation333

[SRC]if ("SPJ_CLOSED" != projectMap.currentStatusId) {

[MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyUnnecessaryGString333

[SRC]if ("SPJ_CLOSED" != projectMap.currentStatusId) {

[MSG]The String 'SPJ_CLOSED' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyIndentation334

[SRC]productMap = from("Product").where("productId", projectM..).queryOne()

[MSG]The statement on line 34 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovyUnnecessaryGString334

[SRC]productMap = from("Product").where("productId", projectM..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString334

[SRC]productMap = from("Product").where("productId", projectM..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyIndentation335

[SRC]workEffortMap.productId = productMap.productId

[MSG]The statement on line 35 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovyIndentation336

[SRC]workEffortMap.internalName = returnNameAsString(productM..rnalName,30)

[MSG]The statement on line 36 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovySpaceAfterComma336

[SRC]workEffortMap.internalName = returnNameAsString(productM..rnalName,30)

[MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation337

[SRC]workEffortMap.projectId = projectMap.workEffortId

[MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovyIndentation338

[SRC]workEffortMap.projectName = returnNameAsString(projectMa..fortName,30)

[MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovySpaceAfterComma338

[SRC]workEffortMap.projectName = returnNameAsString(projectMa..fortName,30)

[MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation339

[SRC]workEffortMap.sprintId = sprintMap.workEffortId

[MSG]The statement on line 39 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovyIndentation340

[SRC]workEffortMap.sprintName = returnNameAsString(sprintMap...fortName,30)

[MSG]The statement on line 40 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovySpaceAfterComma340

[SRC]workEffortMap.sprintName = returnNameAsString(sprintMap...fortName,30)

[MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The statement on line 41 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAroundOperator341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

QuickAddBacklog.groovyUnnecessaryGString341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The String ',' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString341

[SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId

[MSG]The String ',' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyIndentation342

[SRC]workEffortList.add(workEffortMap)

[MSG]The statement on line 42 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20

QuickAddBacklog.groovyUnnecessaryGString355

[SRC]indexList = parameters.keyId.tokenize(",")

[MSG]The String ',' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovySpaceAfterComma361

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The parameter productId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyUnnecessaryGString361

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString361

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString361

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'RF_PARENT_BACKLOG' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString361

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString363

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString363

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString363

[SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList()

[MSG]The String 'RF_PARENT_BACKLOG' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovySpaceBeforeOpeningBrace366

[SRC]sprintList.each{ categoryMap ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation370

[SRC]productMap = from("Product").where("productId", productI..).queryOne()

[MSG]The statement on line 70 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyUnnecessaryGString370

[SRC]productMap = from("Product").where("productId", productI..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyUnnecessaryGString370

[SRC]productMap = from("Product").where("productId", productI..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyIndentation371

[SRC]inputMap.productId = productMap.productId

[MSG]The statement on line 71 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyIndentation372

[SRC]inputMap.internalName = productMap.internalName

[MSG]The statement on line 72 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyIndentation373

[SRC]inputMap.custRequestId = categoryMap.custRequestId

[MSG]The statement on line 73 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyIndentation374

[SRC]inputMap.custRequestName = categoryMap.custRequestName

[MSG]The statement on line 74 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovyIndentation375

[SRC]categoryList.add(inputMap)

[MSG]The statement on line 75 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16

QuickAddBacklog.groovySpaceAfterCatch380

[SRC]}catch(e){

[MSG]The catch keyword within class org.apache.ofbiz.scrum.None is not followed by a single space

QuickAddBacklog.groovySpaceBeforeOpeningBrace380

[SRC]}catch(e){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyUnnecessaryGString381

[SRC]logInfo("catch e ================" + e)

[MSG]The String 'catch e ================' can be wrapped in single quotes instead of double quotes

QuickAddBacklog.groovyMethodParameterTypeRequired385

[SRC]def String returnNameAsString(input,length) {

[MSG]"input" parameter of "returnNameAsString" method is dynamically typed

QuickAddBacklog.groovyMethodParameterTypeRequired385

[SRC]def String returnNameAsString(input,length) {

[MSG]"length" parameter of "returnNameAsString" method is dynamically typed

QuickAddBacklog.groovyNoDef385

[SRC]def String returnNameAsString(input,length) {

[MSG]def for method parameter type should not be used

QuickAddBacklog.groovyNoDef385

[SRC]def String returnNameAsString(input,length) {

[MSG]def for method parameter type should not be used

QuickAddBacklog.groovySpaceAfterComma385

[SRC]def String returnNameAsString(input,length) {

[MSG]The parameter length of method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyUnnecessaryDefInMethodDeclaration385

[SRC]def String returnNameAsString(input,length) {

[MSG]Violation in class org.apache.ofbiz.scrum.None. The def keyword is unneeded when a method specifies a return type

QuickAddBacklog.groovyIndentation386

[SRC]if (input.length() > length ) {

[MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2

QuickAddBacklog.groovyIndentation387

[SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length))

[MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6

QuickAddBacklog.groovySpaceAfterComma387

[SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length))

[MSG]The parameter Math.min(input.toString().length(), length) in the call to method substring within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovySpaceAfterComma387

[SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length))

[MSG]The parameter length in the call to method min within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

QuickAddBacklog.groovyIndentation388

[SRC]return ansValue

[MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6

QuickAddBacklog.groovyUnnecessaryElseStatement389

[SRC]} else {

[MSG]When an if statement block ends with a return statement the else is unnecessary

QuickAddBacklog.groovyIndentation390

[SRC]return input

[MSG]The statement on line 90 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6

QuickAnonCustSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.util.EntityUtil

[MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced

QuickAnonCustSettings.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyNoWildcardImports327

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

QuickAnonCustSettings.groovyUnnecessaryGString344

[SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) {

[MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString344

[SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) {

[MSG]The String '_ERROR_MESSAGE_LIST_' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString345

[SRC]person = from("Person").where("partyId", partyId).queryOne()

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString345

[SRC]person = from("Person").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString355

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString355

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString355

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString355

[SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst()

[MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString363

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString363

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString363

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString363

[SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PHONE_HOME' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovySpaceAroundMapEntryColon373

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S]

QuickAnonCustSettings.groovySpaceAroundMapEntryColon373

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S]

QuickAnonCustSettings.groovyUnnecessaryGString373

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString373

[SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst()

[MSG]The String 'PHONE_WORK' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString385

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString390

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString392

[SRC]if (cartPartyId && !"_NA_".equals(cartPartyId)) {

[MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString393

[SRC]cartParty = from("Party").where("partyId", cartPartyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString393

[SRC]cartParty = from("Party").where("partyId", cartPartyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString395

[SRC]cartPerson = cartParty.getRelatedOne("Person", false)

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3103

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3103

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3103

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3118

[SRC]billingContactMechId = session.getAttribute("billingContactMechId")

[MSG]The String 'billingContactMechId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3120

[SRC]billPostalAddress = from("PostalAddress").where("contact..).queryOne()

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3120

[SRC]billPostalAddress = from("PostalAddress").where("contact..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryObjectReferences3129

[SRC]parameters.billToCountryGeoId = billPostalAddress.countryGeoId

[MSG]The code could be more concise by using a with() or identity() block

QuickAnonCustSettings.groovyUnnecessaryGString3135

[SRC]context.useShippingPostalAddressForBilling = "Y"

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3138

[SRC]parameters.shippingContactMechPurposeTypeId = "SHIPPING_LOCATION"

[MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes

QuickAnonCustSettings.groovyUnnecessaryGString3139

[SRC]parameters.billingContactMechPurposeTypeId = "BILLING_LOCATION"

[MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.order.shoppingcart.shipping.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.product.store.*

[MSG]Wildcard (star) import

QuickAnonOptionSettings.groovyUnnecessaryGString328

[SRC]shoppingCart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyUnnecessaryGString339

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyUnnecessaryGString342

[SRC]partyId = session.getAttribute("orderPartyId")

[MSG]The String 'orderPartyId' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyUnnecessaryGString344

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

QuickAnonOptionSettings.groovyUnnecessaryGString348

[SRC]context.emailList = ContactHelper.getContactMechByType(p..ESS", false)

[MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes

QuickAnonPaymentInformation.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.accounting.payment.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

QuickAnonPaymentInformation.groovyUnnecessaryGString331

[SRC]paymentMethodTypeId = parameters.paymentMethodTypeId ?: "CREDIT_CARD"

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

QuickAnonPaymentInformation.groovyUnnecessaryGString334

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

QuickAnonPaymentInformation.groovySpaceAfterOpeningBrace338

[SRC]paymentMethods.each {paymentMethod ->

[MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.order.None is not followed by a space or whitespace

QuickAnonPaymentInformation.groovyUnnecessaryGString339

[SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) {

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

RequestReturn.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

RequestReturn.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

RequestReturn.groovyUnnecessaryGString328

[SRC]party = userLogin.getRelatedOne("Party", false)

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString331

[SRC]returnTypes = from("ReturnType").orderBy("sequenceId").queryList()

[MSG]The String 'ReturnType' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString331

[SRC]returnTypes = from("ReturnType").orderBy("sequenceId").queryList()

[MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString334

[SRC]returnReasons = from("ReturnReason").orderBy("sequenceId").queryList()

[MSG]The String 'ReturnReason' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString334

[SRC]returnReasons = from("ReturnReason").orderBy("sequenceId").queryList()

[MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes

RequestReturn.groovySpaceAroundMapEntryColon338

[SRC]returnRes = runService('getReturnableItems', [orderId : orderId])

[MSG]The colon for the literal Map entry for key [orderId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S]

RequestReturn.groovyUnnecessaryGString340

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString340

[SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString344

[SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList()

[MSG]The String 'ReturnItemTypeMap' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString344

[SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList()

[MSG]The String 'returnHeaderTypeId' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString344

[SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList()

[MSG]The String 'CUSTOMER_RETURN' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString351

[SRC]order = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString351

[SRC]order = from("OrderHeader").where("orderId", orderId).queryOne()

[MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString352

[SRC]productStore = order.getRelatedOne("ProductStore", false)

[MSG]The String 'ProductStore' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString356

[SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false)

[MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes

RequestReturn.groovyUnnecessaryGString356

[SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false)

[MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

RespondPermAndPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

RespondPermAndPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

RespondPermAndPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

RespondPermAndPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

RespondPermAndPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

RespondPermAndPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

RespondPermAndPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

RespondPermAndPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

RespondPermAndPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

RespondPermAndPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

RespondPermAndPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyUnusedImport336

[SRC]import org.apache.ofbiz.content.content.PermissionRecorder

[MSG]The [org.apache.ofbiz.content.content.PermissionRecorder] import is never referenced

RespondPermAndPrep.groovyNoWildcardImports338

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyNoWildcardImports339

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

RespondPermAndPrep.groovyUnnecessaryGString345

[SRC]request.setAttribute("errorMsgReq", "contentIdTo is empty")

[MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString345

[SRC]request.setAttribute("errorMsgReq", "contentIdTo is empty")

[MSG]The String 'contentIdTo is empty' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString357

[SRC]contentToValue = from("Content").where("contentId", cont..).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString357

[SRC]contentToValue = from("Content").where("contentId", cont..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString358

[SRC]contentToPurposeList = contentToValue.getRelated("Conten.. null, true)

[MSG]The String 'ContentPurpose' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovySpaceAroundMapEntryColon359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The colon for the literal Map entry for key [contentTypeId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S]

RespondPermAndPrep.groovySpaceAroundMapEntryColon359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S]

RespondPermAndPrep.groovySpaceAroundMapEntryColon359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The colon for the literal Map entry for key [privilegeEnumId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S]

RespondPermAndPrep.groovyUnnecessaryGString359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString359

[SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"])

[MSG]The String '_00_' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString361

[SRC]if (contentToPurposeList.contains("RESPONSE")) {

[MSG]The String 'RESPONSE' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString371

[SRC]targetOperationList = StringUtil.split(context.targetOperation, "|")

[MSG]The String '|' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString377

[SRC]mapIn.entityOperation = "_CREATE"

[MSG]The String '_CREATE' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString378

[SRC]mapIn.contentPurposeList = ["RESPONSE"]

[MSG]The String 'RESPONSE' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyInvertedIfElse384

[SRC]if (!"granted".equals(permissionStatus)) {

[MSG]Testing the negative condition first can make an if statement confusing

RespondPermAndPrep.groovyUnnecessaryGString384

[SRC]if (!"granted".equals(permissionStatus)) {

[MSG]The String 'granted' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString385

[SRC]request.setAttribute("errorMsgReq", "Permission to add r..denied (1)")

[MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString385

[SRC]request.setAttribute("errorMsgReq", "Permission to add r..denied (1)")

[MSG]The String 'Permission to add response is denied (1)' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString386

[SRC]errorMessage = "Permission to add response is denied (2)"

[MSG]The String 'Permission to add response is denied (2)' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString392

[SRC]errorMessage += " \n " + permissionMessage

[MSG]The String ' \n ' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString394

[SRC]request.setAttribute("permissionErrorMsg", errorMessage)

[MSG]The String 'permissionErrorMsg' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString397

[SRC]request.setAttribute("hasPermission", false)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString398

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString398

[SRC]request.setAttribute("permissionStatus", "")

[MSG]The String '' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryElseStatement3100

[SRC]} else {

[MSG]When an if statement block ends with a return statement the else is unnecessary

RespondPermAndPrep.groovyUnnecessaryGString3102

[SRC]request.setAttribute("hasPermission", true)

[MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3103

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3103

[SRC]request.setAttribute("permissionStatus", "granted")

[MSG]The String 'granted' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3140

[SRC]request.setAttribute("currentValue", currentValue)

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3142

[SRC]singleWrapper.putInContext("contentPurposeTypeId", conte..rposeTypeId)

[MSG]The String 'contentPurposeTypeId' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3143

[SRC]singleWrapper.putInContext("targetOperation", context.targetOperation)

[MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3144

[SRC]singleWrapper.putInContext("targetOperationString", cont..etOperation)

[MSG]The String 'targetOperationString' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3145

[SRC]singleWrapper.putInContext("currentValue", currentValue)

[MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovySpaceAroundOperator3150

[SRC]idNamePair = trailList[trailList.size() -1]

[MSG]The operator "-" within class org.apache.ofbiz.ecommerce.forum.None is not followed by a space or whitespace

RespondPermAndPrep.groovyUnnecessaryCallForLastElement3150

[SRC]idNamePair = trailList[trailList.size() -1]

[MSG]Unnecessarily complex access of last element. This can be simplified to trailList.last() or trailList[-1]

RespondPermAndPrep.groovyUnnecessaryGString3152

[SRC]if (!replyName.contains("RE:")) {

[MSG]The String 'RE:' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovyUnnecessaryGString3153

[SRC]replyName = "RE:" + replyName

[MSG]The String 'RE:' can be wrapped in single quotes instead of double quotes

RespondPermAndPrep.groovySpaceAroundMapEntryColon3156

[SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName])

[MSG]The colon for the literal Map entry for key [contentName] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S]

RespondPermAndPrep.groovySpaceAroundMapEntryColon3156

[SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName])

[MSG]The colon for the literal Map entry for key [description] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S]

RespondPermAndPrep.groovyUnnecessaryGString3156

[SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName])

[MSG]The String 'replyName' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

ResponsePrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

ResponsePrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

ResponsePrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

ResponsePrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

ResponsePrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

ResponsePrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

ResponsePrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

ResponsePrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

ResponsePrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

ResponsePrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

ResponsePrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports337

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports340

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

ResponsePrep.groovyNoWildcardImports341

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

ResponsePrep.groovyUnnecessaryGString353

[SRC]trail = StringUtil.split(nodeTrailCsv, ",")

[MSG]The String ',' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString358

[SRC]ContentWorker.getContentAncestry(delegator, pubPt, "SUBS..To", idList)

[MSG]The String 'SUBSITE' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString358

[SRC]ContentWorker.getContentAncestry(delegator, pubPt, "SUBS..To", idList)

[MSG]The String 'To' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString364

[SRC]webSitePublishPoint = from("WebSitePublishPoint").where(..).queryOne()

[MSG]The String 'WebSitePublishPoint' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString364

[SRC]webSitePublishPoint = from("WebSitePublishPoint").where(..).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString372

[SRC]singleWrapper.putInContext("contentIdTo", contentIdTo)

[MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString373

[SRC]singleWrapper.putInContext("summaryDataResourceTypeId", null)

[MSG]The String 'summaryDataResourceTypeId' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString374

[SRC]singleWrapper.putInContext("mapKey", null)

[MSG]The String 'mapKey' can be wrapped in single quotes instead of double quotes

ResponsePrep.groovyUnnecessaryGString375

[SRC]singleWrapper.putInContext("nodeTrailCsv", nodeTrailCsv)

[MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes

Search.groovyUnusedImport327

[SRC]import org.apache.ofbiz.base.util.Debug

[MSG]The [org.apache.ofbiz.base.util.Debug] import is never referenced

Search.groovyNoWildcardImports331

[SRC]import org.apache.lucene.search.*

[MSG]Wildcard (star) import

Search.groovyUnnecessaryGString340

[SRC]siteId = paramMap.siteId ?: "WebStoreCONTENT"

[MSG]The String 'WebStoreCONTENT' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString350

[SRC]Directory directory = FSDirectory.open(new File(SearchWo..)).toPath())

[MSG]The String 'content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString355

[SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale))

[MSG]The String 'ContentErrorUiLabels' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString355

[SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale))

[MSG]The String 'ContentSearchNotIndexed' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString359

[SRC]termQuery = new TermQuery(new Term("site", siteId.toString()))

[MSG]The String 'site' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString366

[SRC]QueryParser parser = new QueryParser("content", analyzer)

[MSG]The String 'content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString374

[SRC]if ("any".equals(paramMap.anyOrAll)) {

[MSG]The String 'any' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString380

[SRC]termQuery = new TermQuery(new Term("feature", value))

[MSG]The String 'feature' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString389

[SRC]logInfo("in search searchFeature3, combQuery:" + combQuery.toString())

[MSG]The String 'in search searchFeature3, combQuery:' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString393

[SRC]logInfo("in search, hits:" + collector.getTotalHits())

[MSG]The String 'in search, hits:' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString399

[SRC]contentId = doc.get("contentId")

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString3100

[SRC]content = from("Content").where("contentId", contentId)...).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString3100

[SRC]content = from("Content").where("contentId", contentId)...).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

Search.groovyNoWildcardImports329

[SRC]import org.apache.lucene.search.*

[MSG]Wildcard (star) import

Search.groovyUnnecessaryGString346

[SRC]DirectoryReader reader = DirectoryReader.open(FSDirector..).toPath()))

[MSG]The String 'content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString350

[SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale))

[MSG]The String 'ContentErrorUiLabels' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString350

[SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale))

[MSG]The String 'ContentSearchNotIndexed' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString357

[SRC]QueryParser parser = new QueryParser("content", analyzer)

[MSG]The String 'content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString362

[SRC]termQuery = new TermQuery(new Term("site", siteId.toString()))

[MSG]The String 'site' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString370

[SRC]if ("any".equals(parameters.any_or_all)) {

[MSG]The String 'any' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString375

[SRC]termQuery = new TermQuery(new Term("feature", searchFeature1))

[MSG]The String 'feature' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString380

[SRC]termQuery = new TermQuery(new Term("feature", searchFeature2))

[MSG]The String 'feature' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString385

[SRC]termQuery = new TermQuery(new Term("feature", searchFeature3))

[MSG]The String 'feature' can be wrapped in single quotes instead of double quotes

Search.groovyIndentation389

[SRC]if (featureIdByType) {

[MSG]The statement on line 89 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 5 but was 3

Search.groovyIndentation390

[SRC]featureIdByType.each { key, value ->

[MSG]The statement on line 90 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 9 but was 5

Search.groovyUnnecessaryGString391

[SRC]termQuery = new TermQuery(new Term("feature", value))

[MSG]The String 'feature' can be wrapped in single quotes instead of double quotes

Search.groovyIndentation394

[SRC]combQuery.add(featureQuery.build(), featuresRequired)

[MSG]The statement on line 94 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 9 but was 5

Search.groovyUnnecessaryGString3106

[SRC]contentId = doc.get("contentId")

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString3107

[SRC]content = from("Content").where("contentId", contentId)...).queryOne()

[MSG]The String 'Content' can be wrapped in single quotes instead of double quotes

Search.groovyUnnecessaryGString3107

[SRC]content = from("Content").where("contentId", contentId)...).queryOne()

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

SearchProducts.groovyConsecutiveBlankLines320

[MSG]File SearchProducts.groovy has consecutive blank lines

SearchProducts.groovyUnnecessaryGString342

[SRC]DirectoryReader reader = DirectoryReader.open(FSDirector..).toPath()))

[MSG]The String 'products' can be wrapped in single quotes instead of double quotes

SearchProducts.groovyUnnecessaryGString350

[SRC]QueryParser parser = new QueryParser("fullText", analyzer)

[MSG]The String 'fullText' can be wrapped in single quotes instead of double quotes

SearchProducts.groovySpaceAfterCatch355

[SRC]} catch(ParseException pe) {

[MSG]The catch keyword within class org.apache.ofbiz.lucene.content.None is not followed by a single space

SearchProducts.groovyUnnecessaryGString368

[SRC]product = from("Product").where("productId", productId)...).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

SearchProducts.groovyUnnecessaryGString368

[SRC]product = from("Product").where("productId", productId)...).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString321

[SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList()

[MSG]The String 'PartyRoleNameDetail' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString321

[SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString321

[SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList()

[MSG]The String 'SALES_REP' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString321

[SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList()

[MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString321

[SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList()

[MSG]The String 'firstName' can be wrapped in single quotes instead of double quotes

SearchSalesReps.groovyUnnecessaryGString323

[SRC]shoppingCart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

SetServiceParameters.groovyConsecutiveBlankLines399

[MSG]File SetServiceParameters.groovy has consecutive blank lines

ShipSettings.groovyNoWildcardImports321

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ShipSettings.groovyNoWildcardImports322

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

ShipSettings.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ShipSettings.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.order.shoppingcart.*

[MSG]Wildcard (star) import

ShipSettings.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.party.contact.*

[MSG]Wildcard (star) import

ShipSettings.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.product.catalog.*

[MSG]Wildcard (star) import

ShipSettings.groovyUnnecessaryGString328

[SRC]cart = session.getAttribute("shoppingCart")

[MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString333

[SRC]request.removeAttribute("_EVENT_MESSAGE_")

[MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString335

[SRC]if (partyId && !"_NA_".equals(partyId)) {

[MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString336

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'Party' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString336

[SRC]party = from("Party").where("partyId", partyId).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString337

[SRC]person = party.getRelatedOne("Person", false)

[MSG]The String 'Person' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString344

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString344

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString344

[SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString351

[SRC]fullAddressBuf.append(", ")

[MSG]The String ', ' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString354

[SRC]fullAddressBuf.append(", ")

[MSG]The String ', ' can be wrapped in single quotes instead of double quotes

ShipSettings.groovyUnnecessaryGString356

[SRC]fullAddressBuf.append(", ")

[MSG]The String ', ' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

ShipmentStatus.groovyUnusedImport322

[SRC]import org.apache.ofbiz.entity.Delegator

[MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced

ShipmentStatus.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ShipmentStatus.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

ShipmentStatus.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

ShipmentStatus.groovyUnnecessaryGString329

[SRC]shipment = from("Shipment").where("shipmentId", shipmentId).queryOne()

[MSG]The String 'Shipment' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString329

[SRC]shipment = from("Shipment").where("shipmentId", shipmentId).queryOne()

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString330

[SRC]shipmentItems = from("ShipmentItem").where("shipmentId",...queryList()

[MSG]The String 'ShipmentItem' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString330

[SRC]shipmentItems = from("ShipmentItem").where("shipmentId",...queryList()

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString333

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode")

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString333

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode")

[MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString333

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode")

[MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString333

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode")

[MSG]The String 'carrierPartyId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString333

[SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode")

[MSG]The String 'trackingCode' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString334

[SRC].from("OrderShipmentInfoSummary")

[MSG]The String 'OrderShipmentInfoSummary' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString335

[SRC].where("shipmentId", shipmentId)

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString336

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString336

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes

ShipmentStatus.groovyUnnecessaryGString336

[SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId")

[MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

ShowCart.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

ShowCart.groovyUnnecessaryGString338

[SRC]product = from("Product").where("productId", add_product..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString338

[SRC]product = from("Product").where("productId", add_product..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString343

[SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList()

[MSG]The String 'ProductFeature' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString343

[SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList()

[MSG]The String 'productFeatureTypeId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString343

[SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList()

[MSG]The String 'GIFT_WRAP' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString343

[SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList()

[MSG]The String 'defaultSequenceNum' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString348

[SRC]allShoppingLists = from("ShoppingList").where(EntityCond..in.partyId),

[MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString348

[SRC]allShoppingLists = from("ShoppingList").where(EntityCond..in.partyId),

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString349

[SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList()

[MSG]The String 'listName' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString349

[SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList()

[MSG]The String 'auto-save' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString349

[SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList()

[MSG]The String 'listName' can be wrapped in single quotes instead of double quotes

ShowCart.groovySpaceAfterIf362

[SRC]if(shoppingCartItems) {

[MSG]The if keyword within class org.apache.ofbiz.ecommerce.cart.None is not followed by a single space

ShowCart.groovyUnnecessaryGString372

[SRC]productCategoryMembers = from("ProductCategoryMember").w...queryList()

[MSG]The String 'ProductCategoryMember' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString372

[SRC]productCategoryMembers = from("ProductCategoryMember").w...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString375

[SRC]productCategory = productCategoryMember.getRelatedOne("P..ory", false)

[MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilValidate;

[MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced

ShowCart.groovyUnnecessarySemicolon321

[SRC]import org.apache.ofbiz.base.util.UtilValidate;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon322

[SRC]import org.apache.ofbiz.webpos.WebPosEvents;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnusedImport323

[SRC]import org.apache.ofbiz.webpos.session.WebPosSession;

[MSG]The [org.apache.ofbiz.webpos.session.WebPosSession] import is never referenced

ShowCart.groovyUnnecessarySemicolon323

[SRC]import org.apache.ofbiz.webpos.session.WebPosSession;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon325

[SRC]webPosSession = WebPosEvents.getWebPosSession(request, null);

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon327

[SRC]shoppingCart = webPosSession.getCart();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon328

[SRC]context.isManager = webPosSession.isManagerLoggedIn();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon329

[SRC]context.transactionId = webPosSession.getCurrentTransact..sactionId();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon330

[SRC]context.userLoginId = webPosSession.getUserLoginId();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon331

[SRC]context.drawerNumber = webPosSession.getCurrentTransacti..werNumber();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon332

[SRC]context.totalDue = webPosSession.getCurrentTransaction()..tTotalDue();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon333

[SRC]context.totalQuantity = webPosSession.getCurrentTransact..lQuantity();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon334

[SRC]context.isOpen = webPosSession.getCurrentTransaction().isOpen();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyTrailingWhitespace335

[SRC]

[MSG]Line ends with whitespace characters

ShowCart.groovyUnnecessarySemicolon336

[SRC]context.person = null;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString338

[SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne();

[MSG]The String 'PartyAndPerson' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString338

[SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne();

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon338

[SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString340

[SRC]context.person = placingCustomerParty.lastName + " " + p..y.firstName;

[MSG]The String ' ' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon340

[SRC]context.person = placingCustomerParty.lastName + " " + p..y.firstName;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon344

[SRC]shoppingCart = null;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon347

[SRC]context.cashAmount = BigDecimal.ZERO;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon348

[SRC]context.checkAmount = BigDecimal.ZERO;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon349

[SRC]context.giftAmount = BigDecimal.ZERO;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon350

[SRC]context.creditAmount = BigDecimal.ZERO;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon351

[SRC]context.totalPay = BigDecimal.ZERO;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon354

[SRC]context.shoppingCartSize = shoppingCart.size();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon355

[SRC]payments = shoppingCart.selectedPayments();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon357

[SRC]paymentInfo = shoppingCart.getPaymentInfo(i);

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon359

[SRC]amount = paymentInfo.amount;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString361

[SRC]if ("CASH".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]The String 'CASH' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon362

[SRC]context.cashAmount = new BigDecimal((context.cashAmount).add(amount));

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString364

[SRC]else if ("PERSONAL_CHECK".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]The String 'PERSONAL_CHECK' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon365

[SRC]context.checkAmount = new BigDecimal((context.checkAmoun..dd(amount));

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString367

[SRC]else if ("GIFT_CARD".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon368

[SRC]context.giftAmount = new BigDecimal((context.giftAmount).add(amount));

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessaryGString370

[SRC]else if ("CREDIT_CARD".equals(paymentInfo.paymentMethodTypeId)) {

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon371

[SRC]context.creditAmount = new BigDecimal((context.creditAmo..dd(amount));

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon373

[SRC]context.totalPay = new BigDecimal((context.totalPay).add(amount));

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon377

[SRC]context.shoppingCart = shoppingCart;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovyUnnecessarySemicolon379

[SRC]context.shoppingCartSize = 0;

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovySpaceAroundMapEntryColon382

[SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne();

[MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S]

ShowCart.groovyUnnecessaryGString382

[SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString382

[SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString382

[SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'CASH' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon382

[SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovySpaceAroundMapEntryColon383

[SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne();

[MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S]

ShowCart.groovyUnnecessaryGString383

[SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString383

[SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString383

[SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'PERSONAL_CHECK' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon383

[SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovySpaceAroundMapEntryColon384

[SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne();

[MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S]

ShowCart.groovyUnnecessaryGString384

[SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString384

[SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString384

[SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon384

[SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne();

[MSG]Semicolons as line endings can be removed safely

ShowCart.groovySpaceAroundMapEntryColon385

[SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne();

[MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S]

ShowCart.groovyUnnecessaryGString385

[SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString385

[SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessaryGString385

[SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne();

[MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes

ShowCart.groovyUnnecessarySemicolon385

[SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne();

[MSG]Semicolons as line endings can be removed safely

ShowForum.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.ecommerce.forum.ForumEvents

ShowForum.groovySpaceAfterComma326

[SRC]context.put("viewSize",result.get("viewSize"))

[MSG]The parameter result.get(viewSize) in the call to method put within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace

ShowForum.groovyUnnecessaryGString326

[SRC]context.put("viewSize",result.get("viewSize"))

[MSG]The String 'viewSize' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString326

[SRC]context.put("viewSize",result.get("viewSize"))

[MSG]The String 'viewSize' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString327

[SRC]context.put("forumMessages", result.get("forumMessages"))

[MSG]The String 'forumMessages' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString327

[SRC]context.put("forumMessages", result.get("forumMessages"))

[MSG]The String 'forumMessages' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString328

[SRC]context.put("viewIndex", result.get("viewIndex"))

[MSG]The String 'viewIndex' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString328

[SRC]context.put("viewIndex", result.get("viewIndex"))

[MSG]The String 'viewIndex' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString329

[SRC]context.put("listSize", result.get("listSize"))

[MSG]The String 'listSize' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString329

[SRC]context.put("listSize", result.get("listSize"))

[MSG]The String 'listSize' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString330

[SRC]context.put("lowIndex", result.get("lowIndex"))

[MSG]The String 'lowIndex' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString330

[SRC]context.put("lowIndex", result.get("lowIndex"))

[MSG]The String 'lowIndex' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString331

[SRC]context.put("highIndex", result.get("highIndex"))

[MSG]The String 'highIndex' can be wrapped in single quotes instead of double quotes

ShowForum.groovyUnnecessaryGString331

[SRC]context.put("highIndex", result.get("highIndex"))

[MSG]The String 'highIndex' can be wrapped in single quotes instead of double quotes

ShowPromoText.groovyUnusedImport321

[SRC]import org.apache.ofbiz.base.util.UtilMisc

[MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced

ShowPromoText.groovyUnnecessaryGString335

[SRC]if (promoText && !"N".equals(productPromo.showToCustomer)) {

[MSG]The String 'N' can be wrapped in single quotes instead of double quotes

ShowPromoText.groovyUnnecessaryPackageReference348

[SRC]randomIndex = Math.round(java.lang.Math.random() * (prod..- 1)) as int

[MSG]Specifying the package name is not necessary for java.lang.Math

SideDeepCategory.groovyUnnecessaryGString324

[SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true)

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

SideDeepCategory.groovyUnnecessaryGString325

[SRC]curCategoryId = parameters.category_id ?: parameters.CATEGORY_ID ?: ""

[MSG]The String '' can be wrapped in single quotes instead of double quotes

SideDeepCategory.groovyUnnecessaryGString326

[SRC]request.setAttribute("curCategoryId", curCategoryId)

[MSG]The String 'curCategoryId' can be wrapped in single quotes instead of double quotes

SideDeepCategory.groovyUnnecessaryGString329

[SRC]categoryList = request.getAttribute("topLevelList")

[MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes

SideDeepCategory.groovyUnnecessaryGString337

[SRC]request.setAttribute("topCategoryId", curCategoryId)

[MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString330

[SRC]if ("SPRINT_CLOSED".equals(currentStatus)) {

[MSG]The String 'SPRINT_CLOSED' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyInvertedCondition333

[SRC]if ("Any" == backlogStatusId) {

[MSG]Any is a constant expression on the left side of a compare equals operation

SprintBacklogListItems.groovyUnnecessaryGString333

[SRC]if ("Any" == backlogStatusId) {

[MSG]The String 'Any' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString336

[SRC]backlogStatusId = "CRQ_REVIEWED"

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString337

[SRC]reopenedStatusId = "CRQ_REOPENED"

[MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString338

[SRC]taskStatusId = "STS_CREATED"

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation343

[SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..skStatusId))

[MSG]The statement on line 43 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString343

[SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..skStatusId))

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation344

[SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE"))

[MSG]The statement on line 44 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString344

[SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE"))

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString344

[SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE"))

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation348

[SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..ogStatusId))

[MSG]The statement on line 48 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString348

[SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..ogStatusId))

[MSG]The String 'backlogStatusId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation351

[SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..edStatusId))

[MSG]The statement on line 51 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString351

[SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..edStatusId))

[MSG]The String 'backlogStatusId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation355

[SRC]andExprs.add(EntityCondition.makeCondition("projectId", ...projectId))

[MSG]The statement on line 55 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString355

[SRC]andExprs.add(EntityCondition.makeCondition("projectId", ...projectId))

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation357

[SRC]andExprs.add(EntityCondition.makeCondition("projectId", ..rtParentId))

[MSG]The statement on line 57 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString357

[SRC]andExprs.add(EntityCondition.makeCondition("projectId", ..rtParentId))

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyIndentation360

[SRC]andExprs.add(EntityCondition.makeCondition(orBacklogExpr..perator.OR))

[MSG]The statement on line 60 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyIndentation363

[SRC]andExprs.add(EntityCondition.makeCondition(orCurentExprs..perator.OR))

[MSG]The statement on line 63 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9

SprintBacklogListItems.groovyUnnecessaryGString365

[SRC]andExprs.add(EntityCondition.makeCondition("sprintId", E..s.sprintId))

[MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString366

[SRC]andExprs.add(EntityCondition.makeCondition("sprintTypeId..UM_SPRINT"))

[MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString366

[SRC]andExprs.add(EntityCondition.makeCondition("sprintTypeId..UM_SPRINT"))

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyTrailingWhitespace367

[SRC]

[MSG]Line ends with whitespace characters

SprintBacklogListItems.groovySpaceAfterComma369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The parameter custRequestId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

SprintBacklogListItems.groovySpaceAfterComma369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The parameter taskTypeId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

SprintBacklogListItems.groovyUnnecessaryGString369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString369

[SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList()

[MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString381

[SRC]sprintList = from("CustRequestWorkEffort").where("workEf...queryList()

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString381

[SRC]sprintList = from("CustRequestWorkEffort").where("workEf...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString383

[SRC]custMap = sprintMap.getRelatedOne("CustRequest", false)

[MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovySpaceBeforeOpeningBrace386

[SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

SprintBacklogListItems.groovyUnnecessaryGString386

[SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){

[MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString392

[SRC]workEffortList = custMap.getRelated("CustRequestWorkEffo..null, false)

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString3104

[SRC]workEffMap = taskMap.getRelatedOne("WorkEffort", false)

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovyUnnecessaryGString3105

[SRC]if (!"SCRUM_SPRINT".equals(workEffMap.workEffortTypeId)) {

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

SprintBacklogListItems.groovySpaceBeforeOpeningBrace3107

[SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

SprintBacklogListItems.groovyUnnecessaryGString3107

[SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString321

[SRC]sprintStatusId = "SPRINT_CLOSED"

[MSG]The String 'SPRINT_CLOSED' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString323

[SRC]custRequestWorkEffortList = custRequestMap.getRelated("C..null, false)

[MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString326

[SRC]workEffortMap = custWorkEffortMap.getRelatedOne("WorkEffort", false)

[MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString327

[SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) {

[MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString327

[SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) {

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyUnnecessaryGString329

[SRC]sprintStatusId = "SPRINT_ACTIVE"

[MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes

SprintBacklogOptions.groovyTrailingWhitespace330

[SRC]}

[MSG]Line ends with whitespace characters

SprintBacklogOptions.groovyBlockEndsWithBlankLine332

[MSG]Code block ends with a blank line.

SprintBacklogOptions.groovyTrailingWhitespace332

[SRC]

[MSG]Line ends with whitespace characters

TaskList.groovySpaceAfterComma330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The parameter taskCurrentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovySpaceAfterComma330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The parameter custRequestTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovySpaceAfterComma330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The parameter RF_UNPLAN_BACKLOG in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'ProjectSprintBacklogTaskAndParty' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString330

[SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList()

[MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes

TaskList.groovyNoTabCharacter332

[MSG]The tab character is not allowed in source files

TaskList.groovyIndentation332

[SRC]unplanMap=[:]

[MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovySpaceAroundOperator332

[SRC]unplanMap=[:]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovySpaceAroundOperator332

[SRC]unplanMap=[:]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

TaskList.groovyIndentation333

[SRC]custRequestId = taskUnplanMap.custRequestId

[MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovyIndentation334

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The statement on line 34 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovyUnnecessaryGString334

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString334

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString334

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

TaskList.groovyIndentation335

[SRC]productlist.each { productMap ->

[MSG]The statement on line 35 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovyIndentation336

[SRC]productId = productMap.productId

[MSG]The statement on line 36 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 3

TaskList.groovyIndentation337

[SRC]product = from("Product").where("productId", productId).queryOne()

[MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 3

TaskList.groovyUnnecessaryGString337

[SRC]product = from("Product").where("productId", productId).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString337

[SRC]product = from("Product").where("productId", productId).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

TaskList.groovyIndentation338

[SRC]productName = product.internalName

[MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation339

[SRC]unplanMap.taskId = taskUnplanMap.taskId

[MSG]The statement on line 39 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation340

[SRC]unplanMap.taskName = taskUnplanMap.taskName

[MSG]The statement on line 40 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation341

[SRC]unplanMap.projectId = taskUnplanMap.projectId

[MSG]The statement on line 41 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation342

[SRC]unplanMap.projectName = taskUnplanMap.projectName

[MSG]The statement on line 42 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation343

[SRC]unplanMap.sprintId = taskUnplanMap.sprintId

[MSG]The statement on line 43 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation344

[SRC]unplanMap.sprintName = taskUnplanMap.sprintName

[MSG]The statement on line 44 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation345

[SRC]unplanMap.custRequestId = custRequestId

[MSG]The statement on line 45 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation346

[SRC]unplanMap.description = taskUnplanMap.description

[MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyIndentation347

[SRC]unplanMap.productId = productId

[MSG]The statement on line 47 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyUnnecessaryObjectReferences347

[SRC]unplanMap.productId = productId

[MSG]The code could be more concise by using a with() or identity() block

TaskList.groovyIndentation348

[SRC]unplanMap.productName = productName

[MSG]The statement on line 48 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4

TaskList.groovyUnnecessaryObjectReferences348

[SRC]unplanMap.productName = productName

[MSG]The code could be more concise by using a with() or identity() block

TaskList.groovyBlockEndsWithBlankLine349

[MSG]Code block ends with a blank line.

TaskList.groovyTrailingWhitespace349

[SRC]

[MSG]Line ends with whitespace characters

TaskList.groovyIndentation351

[SRC]taskPartyList.add(taskUnplanMap)

[MSG]The statement on line 51 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovyIndentation352

[SRC]taskListDropdown.add(unplanMap)

[MSG]The statement on line 52 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2

TaskList.groovyUnnecessaryGString356

[SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT..D_BACKLOG"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString356

[SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT..D_BACKLOG"))

[MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString357

[SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT.._MEETINGS"))

[MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString357

[SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT.._MEETINGS"))

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString359

[SRC]andExprs.add(EntityCondition.makeCondition("taskCurrentS..S_CREATED"))

[MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString359

[SRC]andExprs.add(EntityCondition.makeCondition("taskCurrentS..S_CREATED"))

[MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString360

[SRC]andExprs.add(EntityCondition.makeCondition("partyId", En..S, partyId))

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

TaskList.groovySpaceAfterComma364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The parameter projectId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovySpaceAfterComma364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The parameter sprintId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovyUnnecessaryGString364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The String 'ProjectSprintBacklogTaskAndParty' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString364

[SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList()

[MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes

TaskList.groovySpaceAroundOperator366

[SRC]planMap=[:]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovySpaceAroundOperator366

[SRC]planMap=[:]

[MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace

TaskList.groovyUnnecessaryGString367

[SRC]if ("RF_SCRUM_MEETINGS".equals(taskPlanMap.custRequestTypeId)) {

[MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString368

[SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList()

[MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString368

[SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString368

[SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList()

[MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString370

[SRC]if (!"SCAS_COMPLETED".equals(workEffPartyAssignedMap.statusId)) {

[MSG]The String 'SCAS_COMPLETED' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString380

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString380

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString380

[SRC]productlist = from("CustRequestItem").where("custRequest...queryList()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString381

[SRC]product = from("Product").where("productId", productlist..).queryOne()

[MSG]The String 'Product' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryGString381

[SRC]product = from("Product").where("productId", productlist..).queryOne()

[MSG]The String 'productId' can be wrapped in single quotes instead of double quotes

TaskList.groovyUnnecessaryObjectReferences391

[SRC]planMap.description = taskPlanMap.description

[MSG]The code could be more concise by using a with() or identity() block

TaskList.groovyUnnecessaryObjectReferences392

[SRC]planMap.productId = productlist[0].productId

[MSG]The code could be more concise by using a with() or identity() block

TaskList.groovyUnnecessaryObjectReferences393

[SRC]planMap.productName = productName

[MSG]The code could be more concise by using a with() or identity() block

TaskList.groovyBlockEndsWithBlankLine397

[MSG]Code block ends with a blank line.

TaskList.groovySpaceBeforeOpeningBrace3100

[SRC]if (taskPartyList){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovyIndentation3101

[SRC]context.taskPartyList = taskPartyList

[MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2

TaskList.groovySpaceBeforeOpeningBrace3103

[SRC]if (taskListDropdown){

[MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace

TaskList.groovyIndentation3104

[SRC]context.taskListDropdown = taskListDropdown

[MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2

UpdateManager.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory

UpdatedEbayOrders.groovyUnnecessaryGString321

[SRC]if (session.getAttribute("orderList")) {

[MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes

UpdatedEbayOrders.groovyUnnecessaryGString322

[SRC]session.removeAttribute("orderList")

[MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes

UpdatedEbayOrders.groovyUnnecessaryGString323

[SRC]return "success"

[MSG]The String 'success' can be wrapped in single quotes instead of double quotes

ViewImage.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.order.order.OrderContentWrapper

ViewPrep.groovyUnnecessaryGroovyImport321

[SRC]import java.util.ArrayList

ViewPrep.groovyUnusedImport321

[SRC]import java.util.ArrayList

[MSG]The [java.util.ArrayList] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport322

[SRC]import java.util.Collection

ViewPrep.groovyUnusedImport322

[SRC]import java.util.Collection

[MSG]The [java.util.Collection] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport323

[SRC]import java.util.HashMap

ViewPrep.groovyUnusedImport323

[SRC]import java.util.HashMap

[MSG]The [java.util.HashMap] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport324

[SRC]import java.util.Iterator

ViewPrep.groovyUnusedImport324

[SRC]import java.util.Iterator

[MSG]The [java.util.Iterator] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport325

[SRC]import java.util.LinkedList

ViewPrep.groovyUnusedImport325

[SRC]import java.util.LinkedList

[MSG]The [java.util.LinkedList] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport326

[SRC]import java.util.List

ViewPrep.groovyUnusedImport326

[SRC]import java.util.List

[MSG]The [java.util.List] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport327

[SRC]import java.util.Map

ViewPrep.groovyUnusedImport327

[SRC]import java.util.Map

[MSG]The [java.util.Map] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport328

[SRC]import java.util.Set

ViewPrep.groovyUnusedImport328

[SRC]import java.util.Set

[MSG]The [java.util.Set] import is never referenced

ViewPrep.groovyUnnecessaryGroovyImport329

[SRC]import java.util.TreeSet

ViewPrep.groovyUnusedImport329

[SRC]import java.util.TreeSet

[MSG]The [java.util.TreeSet] import is never referenced

ViewPrep.groovyNoWildcardImports331

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports332

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports333

[SRC]import org.apache.ofbiz.security.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports334

[SRC]import org.apache.ofbiz.service.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports335

[SRC]import org.apache.ofbiz.entity.model.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports336

[SRC]import org.apache.ofbiz.securityext.login.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports337

[SRC]import org.apache.ofbiz.common.*

[MSG]Wildcard (star) import

ViewPrep.groovyUnusedImport338

[SRC]import org.apache.ofbiz.content.content.ContentWorker

[MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced

ViewPrep.groovyNoWildcardImports341

[SRC]import javax.servlet.*

[MSG]Wildcard (star) import

ViewPrep.groovyNoWildcardImports342

[SRC]import javax.servlet.http.*

[MSG]Wildcard (star) import

ViewPrep.groovyUnnecessaryGString364

[SRC]nodeTrailCsv = ContentManagementWorker.getFromSomewhere(..st, context)

[MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes

ViewPrep.groovyUnnecessaryGString366

[SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context)

[MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes

ViewPrep.groovyUnnecessaryGString370

[SRC]forumId = ContentManagementWorker.getFromSomewhere("foru..st, context)

[MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes

ViewProductionRun.groovyImportFromSamePackage324

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

ViewProfile.groovyNoWildcardImports321

[SRC]import java.lang.*

[MSG]Wildcard (star) import

ViewProfile.groovyUnnecessaryGroovyImport321

[SRC]import java.lang.*

ViewProfile.groovyNoWildcardImports322

[SRC]import java.util.*

[MSG]Wildcard (star) import

ViewProfile.groovyUnnecessaryGroovyImport322

[SRC]import java.util.*

ViewProfile.groovyNoWildcardImports323

[SRC]import org.apache.ofbiz.base.util.*

[MSG]Wildcard (star) import

ViewProfile.groovyNoWildcardImports324

[SRC]import org.apache.ofbiz.entity.*

[MSG]Wildcard (star) import

ViewProfile.groovyNoWildcardImports325

[SRC]import org.apache.ofbiz.entity.util.*

[MSG]Wildcard (star) import

ViewProfile.groovyNoWildcardImports326

[SRC]import org.apache.ofbiz.entity.condition.*

[MSG]Wildcard (star) import

ViewProfile.groovyUnnecessaryGString335

[SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne()

[MSG]The String 'PartyProfileDefault' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString335

[SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString335

[SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne()

[MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString337

[SRC]showOld = "true".equals(parameters.SHOW_OLD)

[MSG]The String 'true' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString349

[SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne()

[MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString349

[SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne()

[MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString356

[SRC]profileSurveys = ProductStoreWorker.getProductSurveys(de..ER_PROFILE")

[MSG]The String 'CUSTOMER_PROFILE' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString359

[SRC]exprs = [EntityCondition.makeCondition("partyId", Entity..S, partyId)]

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString360

[SRC]exprs.add(EntityCondition.makeCondition("roleStatusId", ..ROLE_READ"))

[MSG]The String 'roleStatusId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString360

[SRC]exprs.add(EntityCondition.makeCondition("roleStatusId", ..ROLE_READ"))

[MSG]The String 'COM_ROLE_READ' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString361

[SRC]messages = from("CommunicationEventAndRole").where(exprs...queryList()

[MSG]The String 'CommunicationEventAndRole' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString361

[SRC]messages = from("CommunicationEventAndRole").where(exprs...queryList()

[MSG]The String '-entryDate' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString365

[SRC]partyContent = from("ContentRole").where("partyId", part...queryList()

[MSG]The String 'ContentRole' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString365

[SRC]partyContent = from("ContentRole").where("partyId", part...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString365

[SRC]partyContent = from("ContentRole").where("partyId", part...queryList()

[MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString365

[SRC]partyContent = from("ContentRole").where("partyId", part...queryList()

[MSG]The String 'OWNER' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString368

[SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList()

[MSG]The String 'MimeType' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString368

[SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList()

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString368

[SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList()

[MSG]The String 'mimeTypeId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString371

[SRC]partyContentTypes = from("PartyContentType").orderBy("de...queryList()

[MSG]The String 'PartyContentType' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString371

[SRC]partyContentTypes = from("PartyContentType").orderBy("de...queryList()

[MSG]The String 'description' can be wrapped in single quotes instead of double quotes

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [orderTypeId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [monthsToInclude] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovySpaceAroundMapEntryColon376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S]

ViewProfile.groovyUnnecessaryGString376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The String 'SALES_ORDER' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString376

[SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin])

[MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString381

[SRC]contactListPartyList = from("ContactListParty").where("p...queryList()

[MSG]The String 'ContactListParty' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString381

[SRC]contactListPartyList = from("ContactListParty").where("p...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString381

[SRC]contactListPartyList = from("ContactListParty").where("p...queryList()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString385

[SRC]publicContactLists = from("ContactList").where("isPublic...queryList()

[MSG]The String 'ContactList' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString385

[SRC]publicContactLists = from("ContactList").where("isPublic...queryList()

[MSG]The String 'isPublic' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString385

[SRC]publicContactLists = from("ContactList").where("isPublic...queryList()

[MSG]The String 'Y' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString385

[SRC]publicContactLists = from("ContactList").where("isPublic...queryList()

[MSG]The String 'contactListName' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString388

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'PartyAndContactMech' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString388

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString388

[SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList()

[MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyTrailingWhitespace390

[SRC]

[MSG]Line ends with whitespace characters

ViewProfile.groovyUnnecessaryGString396

[SRC]countryGeo = postalAddress.getRelatedOne("CountryGeo", false)

[MSG]The String 'CountryGeo' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString397

[SRC]if (countryGeo) it.countryGeoName = countryGeo.getString("geoName")

[MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString398

[SRC]stateProvinceGeo = postalAddress.getRelatedOne("StatePro..Geo", false)

[MSG]The String 'StateProvinceGeo' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyUnnecessaryGString399

[SRC]if (stateProvinceGeo) it.stateProvinceGeoName = statePro..g("geoName")

[MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes

ViewProfile.groovyBlockEndsWithBlankLine3100

[MSG]Code block ends with a blank line.

ViewProfile.groovyTrailingWhitespace3100

[SRC]

[MSG]Line ends with whitespace characters

ViewReferences.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory

ViewReferences.groovyImportFromSamePackage322

[SRC]import org.apache.ofbiz.webtools.labelmanager.LabelReferences

ViewSurveyResponses.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.content.survey.SurveyWrapper

WebPosMenus.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.webpos.WebPosEvents

WebPosMenus.groovyUnusedImport322

[SRC]import org.apache.ofbiz.webpos.session.WebPosSession

[MSG]The [org.apache.ofbiz.webpos.session.WebPosSession] import is never referenced

WebPosMenus.groovyUnusedImport323

[SRC]import org.apache.ofbiz.webpos.transaction.WebPosTransaction

[MSG]The [org.apache.ofbiz.webpos.transaction.WebPosTransaction] import is never referenced

WebPosSetup.groovyUnnecessaryGString340

[SRC]globalContext.checkLoginUrl = LoginWorker.makeLoginUrl(r..checkLogin")

[MSG]The String 'checkLogin' can be wrapped in single quotes instead of double quotes

WorkWithShipmentPlans.groovyImportFromSamePackage321

[SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun

Rule Descriptions

#Rule NameDescription
1AbstractClassNameVerifies that the name of an abstract class matches a regular expression specified in the regex property. If that property is null or empty, then this rule is not applied (i.e., it does nothing). It defaults to null, so this rule must be explicitly configured to be active. This rule ignores interfaces.
2AbstractClassWithPublicConstructorChecks for abstract classes that define a public constructor, which is useless and confusing.
3AbstractClassWithoutAbstractMethodThe abstract class does not contain any abstract methods. An abstract class suggests an incomplete implementation, which is to be completed by subclasses implementing the abstract methods. If the class is intended to be used as a base class only (not to be instantiated direcly) a protected constructor can be provided prevent direct instantiation.
4AddEmptyStringFinds empty string literals which are being added. This is an inefficient way to convert any type to a String.
5AssertWithinFinallyBlockChecks for assert statements within a finally block. An assert can throw an exception, hiding the original exception, if there is one.
6AssignCollectionSortThe Collections.sort() method mutates the list and returns the list as a value. If you are assigning the result of sort() to a variable, then you probably don't realize that you're also modifying the original list as well. This is frequently the cause of subtle bugs.
7AssignCollectionUniqueThe Collections.unique() method mutates the list and returns the list as a value. If you are assigning the result of unique() to a variable, then you probably don't realize that you're also modifying the original list as well. This is frequently the cause of subtle bugs.
8AssignmentInConditionalAn assignment operator (=) was used in a conditional test. This is usually a typo, and the comparison operator (==) was intended.
9AssignmentToStaticFieldFromInstanceMethodChecks for assignment to a static field from an instance method.
10BigDecimalInstantiationChecks for calls to the BigDecimal constructors that take a double parameter, which may result in an unexpected BigDecimal value.
11BitwiseOperatorInConditionalChecks for bitwise operations in conditionals, if you need to do a bitwise operation then it is best practice to extract a temp variable.
12BlankLineBeforePackageMakes sure there are no blank lines before the package declaration of a source code file.
13BlockEndsWithBlankLineChecks that code blocks such as method bodies, closures and control structure bodies do not end with an empty line.
14BlockStartsWithBlankLineChecks that code blocks such as method bodies, closures and control structure bodies do not start with an empty line.
15BooleanGetBooleanThis rule catches usages of java.lang.Boolean.getBoolean(String) which reads a boolean from the System properties. It is often mistakenly used to attempt to read user input or parse a String into a boolean. It is a poor piece of API to use; replace it with System.properties['prop'].
16BooleanMethodReturnsNullMethod with Boolean return type returns explicit null. A method that returns either Boolean.TRUE, Boolean.FALSE or null is an accident waiting to happen. This method can be invoked as though it returned a value of type boolean, and the compiler will insert automatic unboxing of the Boolean value. If a null value is returned, this will result in a NullPointerException.
17BracesForClassChecks the location of the opening brace ({) for classes. By default, requires them on the same line, but the sameLine property can be set to false to override this.
18BracesForForLoopChecks the location of the opening brace ({) for for loops. By default, requires them on the same line, but the sameLine property can be set to false to override this.
19BracesForIfElseChecks the location of the opening brace ({) for if statements. By default, requires them on the same line, but the sameLine property can be set to false to override this.
20BracesForMethodChecks the location of the opening brace ({) for constructors and methods. By default, requires them on the same line, but the sameLine property can be set to false to override this.
21BracesForTryCatchFinallyChecks the location of the opening brace ({) for try statements. By default, requires them on the line, but the sameLine property can be set to false to override this.
22BrokenNullCheckLooks for faulty checks for null that can cause a NullPointerException.
23BrokenOddnessCheckThe code uses x % 2 == 1 to check to see if a value is odd, but this won't work for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check for oddness, consider using x & 1 == 1, or x % 2 != 0.
24BuilderMethodWithSideEffectsA builder method is defined as one that creates objects. As such, they should never be of void return type. If a method is named build, create, or make, then it should always return a value.
25BusyWaitBusy waiting (forcing a Thread.sleep() while waiting on a condition) should be avoided. Prefer using the gate and barrier objects in the java.util.concurrent package.
26CatchArrayIndexOutOfBoundsExceptionCheck the size of the array before accessing an array element rather than catching ArrayIndexOutOfBoundsException.
27CatchErrorCatching Error is dangerous; it can catch exceptions such as ThreadDeath and OutOfMemoryError.
28CatchIllegalMonitorStateExceptionDubious catching of IllegalMonitorStateException. IllegalMonitorStateException is generally only thrown in case of a design flaw in your code (calling wait or notify on an object you do not hold a lock on).
29CatchIndexOutOfBoundsExceptionCheck that an index is valid before accessing an indexed element rather than catching IndexOutOfBoundsException.
30CatchNullPointerExceptionCatching NullPointerException is never appropriate. It should be avoided in the first place with proper null checking, and it can mask underlying errors.
31CatchRuntimeExceptionCatching RuntimeException is often too broad or general. It should usually be restricted to framework or infrastructure code, rather than application code.
32CatchThrowableCatching Throwable is dangerous; it can catch exceptions such as ThreadDeath and OutOfMemoryError.
33ChainedTestA test method that invokes another test method is a chained test; the methods are dependent on one another. Tests should be isolated, and not be dependent on one another.
34ClassEndsWithBlankLineCheck whether the class ends with a blank line.By default, it enforces that there must be a blank line before the closing class brace, except if the class is empty and is written in a single line. A blank line is defined as any line that does not contain any visible characters.
35ClassForNameUsing Class.forName(...) is a common way to add dynamic behavior to a system. However, using this method can cause resource leaks because the classes can be pinned in memory for long periods of time.
36ClassNameVerifies that the name of a class matches a regular expression. By default it checks that the class name starts with an uppercase letter and is followed by zero or more word characters (letters, numbers or underscores). The regex property specifies the regular expression used to validate the class name.
37ClassNameSameAsFilenameReports files containing only one top level class / enum / interface which is named differently than the file.
38ClassNameSameAsSuperclassChecks for any class that has an identical name to its superclass, other than the package. This can be very confusing.
39ClassSizeChecks if the size of a class exceeds the number of lines specified by the maxLines property (1000).
40ClassStartsWithBlankLineCheck whether the class starts with a blank line By default, it enforces that there must be a blank line after the opening class brace, except if the class is empty and is written in a single line. A blank line is defined as any line that does not contain any visible characters.
41CloneableWithoutCloneA class that implements java.lang.Cloneable should define a clone() method.
42CloseWithoutCloseableIf a class defines a "void close()" then that class should implement java.io.Closeable or java.lang.AutoCloseable.
43ClosureAsLastMethodParameterIf a method is called and the last parameter is an inline closure then it can be declared outside of the method call brackets.
44ClosureStatementOnOpeningLineOfMultipleLineClosureChecks for closure logic on first line (after ->) for a multi-line closure.
45CollectAllIsDeprecatedcollectAll{} is deprecated since Groovy 1.8.1. Use collectNested instead{}.
46CompareToWithoutComparableIf you implement a compareTo method then you should also implement the Comparable interface.
47ComparisonOfTwoConstantsChecks for expressions where a comparison operator or equals() or compareTo() is used to compare two constants to each other or two literals that contain only constant values., e.g.: 23 == 67, Boolean.FALSE != false, 0.17 <= 0.99, "abc" > "ddd", [a:1] <=> [a:2], [1,2].equals([3,4]) or [a:false, b:true].compareTo(['a':34.5, b:Boolean.TRUE].
48ComparisonWithSelfChecks for expressions where a comparison operator or equals() or compareTo() is used to compare a variable to itself, e.g.: x == x, x != x, x <=> x, x < x, x =>= x, x.equals(x) or x.compareTo(x), where x is a variable.
49ConfusingClassNamedExceptionThis class is not derived from another exception, but ends with 'Exception'. This will be confusing to users of this class.
50ConfusingMethodNameChecks for confusing method names. The referenced methods have names that differ only by capitalization. This is very confusing because if the capitalization were identical then one of the methods would override the other.
51ConfusingMultipleReturnsMultiple return values can be used to set several variables at once. To use multiple return values, the left hand side of the assignment must be enclosed in parenthesis. If not, then you are not using multiple return values, you're only assigning the last element.
52ConfusingTernaryIn a ternary expression avoid negation in the test. For example, rephrase: "(x != y) ? diff : same" as: "(x == y) ? same : diff". Consistent use of this rule makes the code easier to read. Also, this resolves trivial ordering problems, such as "does the error case go first?" or "does the common case go first?".
53ConsecutiveBlankLinesMakes sure there are no consecutive lines that are either blank or whitespace only.
54ConsecutiveLiteralAppendsViolations occur when method calls to append(Object) are chained together with literals as parameters. The chained calls can be joined into one invocation.
55ConsecutiveStringConcatenationCatches concatenation of two string literals on the same line. These can safely by joined.
56ConstantAssertExpressionChecks for assert statements where the assert boolean condition expression is a constant or literal value.
57ConstantIfExpressionChecks for if statements with a constant value for the if expression, such as true, false, null, or a literal constant value.
58ConstantTernaryExpressionChecks for ternary expressions with a constant value for the boolean expression, such as true, false, null, or a literal constant value.
59ConstantsOnlyInterfaceAn interface should be used only to model a behaviour of a class: using an interface as a container of constants is a poor usage pattern.
60CouldBeElvisCatch an if block that could be written as an elvis expression.
61CouldBeSwitchStatementChecks for multiple if statements that could be converted to a switch
62CoupledTestCaseThis rule finds test cases that are coupled to other test cases, either by invoking static methods on another test case or by creating instances of another test case. If you require shared logic in test cases then extract that logic to a new class where it can properly be reused.
63CrapMetricChecks the CRAP (Change Risk Anti-Patterns) score for methods/classes. The CRAP metric score is based on the cyclomatic complexity and test coverage for individual methods. A method with a CRAP value greater than the maxMethodCrapScore property (30) causes a violation. Likewise, a class that has an (average method) CRAP value greater than the maxClassAverageMethodCrapScore property (30) causes a violation.
64DeadCodeDead code appears after a return statement or an exception is thrown. If code appears after one of these statements then it will never be executed and can be safely deleted.
65DirectConnectionManagementThe J2EE standard requires that applications use the container's resource management facilities to obtain connections to resources. Every major web application container provides pooled database connection management as part of its resource management framework. Duplicating this functionality in an application is difficult and error prone, which is part of the reason it is forbidden under the J2EE standard.
66DoubleCheckedLockingThis rule detects double checked locking, where a 'lock hint' is tested for null before initializing an object within a synchronized block. Double checked locking does not guarantee correctness and is an anti-pattern.
67DoubleNegativeThere is no point in using a double negative, it is always positive. For instance !!x can always be simplified to x. And !(!x) can as well.
68DuplicateCaseStatementCheck for duplicate case statements in a switch block, such as two equal integers or strings.
69DuplicateImportDuplicate import statements are unnecessary.
70DuplicateMapKeyA map literal is created with duplicated key. The map entry will be overwritten.
71DuplicateSetValueA Set literal is created with duplicate constant value. A set cannot contain two elements with the same value.
72ElseBlockBracesUse braces for else blocks, even for a single statement. By default, braces are not required for an else if it is followed immediately by an if. Set the bracesRequiredForElseIf property to true to require braces is that situation as well.
73EmptyCatchBlockIn most cases, exceptions should not be caught and ignored (swallowed).
74EmptyClassReports classes without methods, fields or properties. Why would you need a class like this?
75EmptyElseBlockEmpty else blocks are confusing and serve no purpose.
76EmptyFinallyBlockEmpty finally blocks are confusing and serve no purpose.
77EmptyForStatementEmpty for statements are confusing and serve no purpose.
78EmptyIfStatementEmpty if statements are confusing and serve no purpose.
79EmptyInstanceInitializerAn empty class instance initializer was found. It is safe to remove it.
80EmptyMethodA method was found without an implementation. If the method is overriding or implementing a parent method, then mark it with the @Override annotation.
81EmptyMethodInAbstractClassAn empty method in an abstract class should be abstract instead, as developer may rely on this empty implementation rather than code the appropriate one.
82EmptyStaticInitializerAn empty static initializer was found. It is safe to remove it.
83EmptySwitchStatementEmpty switch statements are confusing and serve no purpose.
84EmptySynchronizedStatementEmpty synchronized statements are confusing and serve no purpose.
85EmptyTryBlockEmpty try blocks are confusing and serve no purpose.
86EmptyWhileStatementEmpty while statements are confusing and serve no purpose.
87EnumCustomSerializationIgnoredChecks for enums that define writeObject() or writeReplace() methods, or declare serialPersistentFields or serialVersionUID fields, all of which are ignored for enums.
88EqualsAndHashCodeIf either the boolean equals(Object) or the int hashCode() methods are overridden within a class, then both must be overridden.
89EqualsOverloadedThe class has an equals method, but the parameter of the method is not of type Object. It is not overriding equals but instead overloading it.
90ExceptionExtendsErrorErrors are system exceptions. Do not extend them.
91ExceptionExtendsThrowableChecks for classes that extend java.lang.Throwable. Custom exception classes should subclass java.lang.Exception or one of its descendants.
92ExceptionNotThrownChecks for an exception constructor call without a throw as the last statement within a catch block.
93ExplicitArrayListInstantiationThis rule checks for the explicit instantiation of an ArrayList using the no-arg constructor. In Groovy, it is best to write new ArrayList() as [], which creates the same object.
94ExplicitCallToAndMethodThis rule detects when the and(Object) method is called directly in code instead of using the & operator. A groovier way to express this: a.and(b) is this: a & b
95ExplicitCallToCompareToMethodThis rule detects when the compareTo(Object) method is called directly in code instead of using the <=>, >, >=, <, and <= operators. A groovier way to express this: a.compareTo(b) is this: a <=> b, or using the other operators.
96ExplicitCallToDivMethodThis rule detects when the div(Object) method is called directly in code instead of using the / operator. A groovier way to express this: a.div(b) is this: a / b
97ExplicitCallToEqualsMethodThis rule detects when the equals(Object) method is called directly in code instead of using the == or != operator. A groovier way to express this: a.equals(b) is this: a == b and a groovier way to express : !a.equals(b) is : a != b
98ExplicitCallToGetAtMethodThis rule detects when the getAt(Object) method is called directly in code instead of using the [] index operator. A groovier way to express this: a.getAt(b) is this: a[b]
99ExplicitCallToLeftShiftMethodThis rule detects when the leftShift(Object) method is called directly in code instead of using the << operator. A groovier way to express this: a.leftShift(b) is this: a << b
100ExplicitCallToMinusMethodThis rule detects when the minus(Object) method is called directly in code instead of using the - operator. A groovier way to express this: a.minus(b) is this: a - b
101ExplicitCallToModMethodThis rule detects when the mod(Object) method is called directly in code instead of using the % operator. A groovier way to express this: a.mod(b) is this: a % b
102ExplicitCallToMultiplyMethodThis rule detects when the minus(Object) method is called directly in code instead of using the * operator. A groovier way to express this: a.multiply(b) is this: a * b
103ExplicitCallToOrMethodThis rule detects when the or(Object) method is called directly in code instead of using the | operator. A groovier way to express this: a.or(b) is this: a | b
104ExplicitCallToPlusMethodThis rule detects when the plus(Object) method is called directly in code instead of using the + operator. A groovier way to express this: a.plus(b) is this: a + b
105ExplicitCallToPowerMethodThis rule detects when the power(Object) method is called directly in code instead of using the ** operator. A groovier way to express this: a.power(b) is this: a ** b
106ExplicitCallToPutAtMethodDetects when the putAt(Object, Object) method is called directly in code instead of using the [] index operator. A groovier way to express this: map.putAt(k, v) is this: map[k] = v.
107ExplicitCallToRightShiftMethodThis rule detects when the rightShift(Object) method is called directly in code instead of using the >> operator. A groovier way to express this: a.rightShift(b) is this: a >> b
108ExplicitCallToXorMethodThis rule detects when the xor(Object) method is called directly in code instead of using the ^ operator. A groovier way to express this: a.xor(b) is this: a ^ b
109ExplicitGarbageCollectionCalls to System.gc(), Runtime.getRuntime().gc(), and System.runFinalization() are not advised. Code should have the same behavior whether the garbage collection is disabled using the option -Xdisableexplicitgc or not. Moreover, "modern" jvms do a very good job handling garbage collections. If memory usage issues unrelated to memory leaks develop within an application, it should be dealt with JVM options rather than within the code itself.
110ExplicitHashMapInstantiationThis rule checks for the explicit instantiation of a HashMap using the no-arg constructor. In Groovy, it is best to write new HashMap() as [:], which creates the same object.
111ExplicitHashSetInstantiationThis rule checks for the explicit instantiation of a HashSet using the no-arg constructor. In Groovy, it is best to write new HashSet() as [] as Set, which creates the same object.
112ExplicitLinkedHashMapInstantiationThis rule checks for the explicit instantiation of a LinkedHashMap using the no-arg constructor. In Groovy, it is best to write new LinkedHashMap() as [:], which creates the same object.
113ExplicitLinkedListInstantiationThis rule checks for the explicit instantiation of a LinkedList using the no-arg constructor. In Groovy, it is best to write new LinkedList() as [] as Queue, which creates the same object.
114ExplicitStackInstantiationThis rule checks for the explicit instantiation of a Stack using the no-arg constructor. In Groovy, it is best to write new Stack() as [] as Stack, which creates the same object.
115ExplicitTreeSetInstantiationThis rule checks for the explicit instantiation of a TreeSet using the no-arg constructor. In Groovy, it is best to write new TreeSet() as [] as SortedSet, which creates the same object.
116FieldNameVerifies that the name of each field matches a regular expression. By default it checks that non-'final' field names start with a lowercase letter and contains only letters or numbers, and 'final' field names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate field names. The finalRegex property specifies the regular expression to validate 'final' field names. The staticRegex property specifies the regular expression to validate 'static' field names. The staticFinalRegex property specifies the regular expression to validate 'static final' field names. The ignoreFieldNames property (serialVersionUID)can specify field names that should be ignored, optionally containing wildcard characters ('*' or '?').
117FieldTypeRequiredChecks that field types are explicitly specified (and not using def).
118FileCreateTempFileThe File.createTempFile() method is insecure, and has been deprecated by the ESAPI secure coding library. It has been replaced by the ESAPI Randomizer.getRandomFilename(String) method.
119FileEndsWithoutNewlineMakes sure the source code file ends with a newline character.
120FinalClassWithProtectedMemberThis rule finds classes marked final that contain protected methods. If a class is final then it may not be subclassed, and there is therefore no point in having a method with protected visibility. Either the class should not be final or the method should be private or protected.
121ForLoopShouldBeWhileLoopA for loop without an init and update statement can be simplified to a while loop.
122ForStatementBracesUse braces for for statements, even for a single statement.
123GStringAsMapKeyA GString should not be used as a map key since its hashcode is not guaranteed to be stable. Consider calling key.toString().
124GStringExpressionWithinStringCheck for regular (single quote) strings containing a GString-type expression (${...}).
125GetterMethodCouldBePropertyIf a class defines a public method that follows the Java getter notation, and returns a constant, then it is cleaner to provide a Groovy property for the value rather than a Groovy method.
126GrailsDomainHasEqualsChecks that Grails domain classes redefine equals().
127GrailsDomainHasToStringChecks that Grails domain classes redefine toString()
128GrailsDomainReservedSqlKeywordNameForbids usage of SQL reserved keywords as class or field names in Grails domain classes. Naming a domain class (or its field) with such a keyword causes SQL schema creation errors and/or redundant table/column name mappings.
129GrailsDomainStringPropertyMaxSizeString properties in Grails domain classes have to define maximum size otherwise the property is mapped to VARCHAR(255) causing runtime exceptions to occur
130GrailsDomainWithServiceReferenceChecks that Grails domain classes do not have service classes injected.
131GrailsDuplicateConstraintCheck for duplicate entry in domain class constraints
132GrailsDuplicateMappingCheck for duplicate name in a domain class mapping
133GrailsMassAssignmentUntrusted input should not be allowed to set arbitrary object fields without restriction.
134GrailsServletContextReferenceChecks for references to the servletContext object from within Grails controller and taglib classes.
135GrailsStatelessServiceChecks for fields on Grails service classes. Grails service classes are singletons, by default, and so they should be reentrant and typically stateless. The ignoreFieldNames property (dataSource,scope,sessionFactory,transactional,*Service,grailsApplication) specifies one or more field names that should be ignored. The ignoreFieldTypes property (null) specifies one or more field type names that should be ignored. Both can optionally contain wildcard characters ('*' or '?').
136GroovyLangImmutableThe groovy.lang.Immutable annotation has been deprecated and replaced by groovy.transform.Immutable. Do not use the Immutable in groovy.lang.
137HardCodedWindowsFileSeparatorThis rule finds usages of a Windows file separator within the constructor call of a File object. It is better to use the Unix file separator or use the File.separator constant.
138HardCodedWindowsRootDirectoryThis rule find cases where a File object is constructed with a windows-based path. This is not portable, and using the File.listRoots() method is a better alternative.
139HashtableIsObsoleteThe java.util.Hashtable class is effectively obsolete. Use the Java Collections Framework classes instead, including HashMap or ConcurrentHashMap. See the JDK javadoc.
140IfStatementBracesUse braces for if statements, even for a single statement.
141IfStatementCouldBeTernaryChecks for if statements where both the if and else blocks contain only a single return statement with a constant or literal value
142IllegalClassMemberChecks for classes containing fields/properties/methods matching configured illegal member modifiers or not matching any of the configured allowed member modifiers.
143IllegalClassReferenceChecks for reference to any of the classes configured in classNames.
144IllegalPackageReferenceChecks for reference to any of the packages configured in packageNames.
145IllegalRegexChecks for a specified illegal regular expression within the source code. The regex property specifies the regular expression to check for. It is required and cannot be null or empty.
146IllegalStringChecks for a specified illegal string within the source code.
147IllegalSubclassChecks for classes that extend one of the specified set of illegal superclasses configured in superclassNames.
148ImplementationAsTypeChecks for use of a predefined set of concrete classes (e.g. ArrayList, Hashtable, ConcurrentHashMap) when specifying the type of a method parameter, closure parameter, constructor parameter, method return type or field type. The associated interfaces should be used to specify the type instead.
149ImportFromSamePackageAn import of a class that is within the same package is unnecessary.
150ImportFromSunPackagesAvoid importing anything from the 'sun.*' packages. These packages are not portable and are likely to change.
151InconsistentPropertyLockingClass contains similarly-named get and set methods where one method of the pair is marked either @WithReadLock or @WithWriteLock and the other is not locked at all.
152InconsistentPropertySynchronizationClass contains similarly-named get and set methods where the set method is synchronized and the get method is not, or the get method is synchronized and the set method is not.
153IndentationCheck indentation for class and method declarations, and initial statements.
154InsecureRandomReports usages of java.util.Random, which can produce very predictable results. If two instances of Random are created with the same seed and sequence of method calls, they will generate the exact same results. Use java.security.SecureRandom instead, which provides a cryptographically strong random number generator. SecureRandom uses PRNG, which means they are using a deterministic algorithm to produce a pseudo-random number from a true random seed. SecureRandom produces non-deterministic output.
155IntegerGetIntegerThis rule catches usages of java.lang.Integer.getInteger(String, ...) which reads an Integer from the System properties. It is often mistakenly used to attempt to read user input or parse a String into an Integer. It is a poor piece of API to use; replace it with System.properties['prop'].
156InterfaceNameVerifies that the name of an interface matches a regular expression specified in the regex property. If that property is null or empty, then this rule is not applied (i.e., it does nothing). It defaults to null, so this rule must be explicitly configured to be active.
157InterfaceNameSameAsSuperInterfaceChecks for any interface that has an identical name to its super-interface, other than the package. This can be very confusing.
158InvertedConditionAn inverted condition is one where a constant expression is used on the left hand side of the equals comparision. Such conditions can be confusing especially when used in assertions where the expected value is by convention placed on the right hand side of the comparision.
159InvertedIfElseAn inverted if-else statement is one in which there is a single if statement with a single else branch and the boolean test of the if is negated. For instance if (!x) false else true. It is usually clearer to write this as if (x) true else false.
160JUnitAssertAlwaysFailsChecks for JUnit assert() method calls with constant arguments such that the assertion always fails. This includes: assertTrue(false), assertFalse(true) and assertNull(CONSTANT).
161JUnitAssertAlwaysSucceedsChecks for JUnit assert() method calls with constant arguments such that the assertion always succeeds. This includes: assertTrue(true), assertFalse(false) and assertNull(null).
162JUnitFailWithoutMessageThis rule detects JUnit calling the fail() method without an argument. For better error reporting you should always provide a message.
163JUnitLostTestChecks for classes that import JUnit 4 classes and contain a public, instance, void, no-arg method named test* that is not annotated with @Test.
164JUnitPublicFieldChecks for public field on a JUnit test class
165JUnitPublicNonTestMethodChecks if a JUnit test class contains public methods other than standard test methods, JUnit framework methods or methods with JUnit annotations.
166JUnitPublicPropertyChecks for public properties defined on JUnit test classes. There should be no need to expose a public property on a test class.
167JUnitSetUpCallsSuperChecks that if the JUnit setUp() method is defined, that it includes a call to super.setUp().
168JUnitStyleAssertionsThis rule detects calling JUnit style assertions like assertEquals, assertTrue, assertFalse, assertNull, assertNotNull. Groovy ships with a feature called the "power assert", which is an assert statement with better error reporting. This is preferable to the JUnit assertions.
169JUnitTearDownCallsSuperChecks that if the JUnit tearDown() method is defined, that it includes a call to super.tearDown().
170JUnitTestMethodWithoutAssertThis rule searches for test methods that do not contain assert statements. Either the test method is missing assert statements, which is an error, or the test method contains custom assert statements that do not follow a proper assert naming convention. Test methods are defined as public void methods that begin with the work test or have a @Test annotation. By default this rule applies to the default test class names, but this can be changed using the rule's applyToClassNames property.
171JUnitUnnecessarySetUpChecks for JUnit setUp() methods that contain only a call to super.setUp().
172JUnitUnnecessaryTearDownChecks for JUnit tearDown() methods that contain only a call to super.tearDown().
173JUnitUnnecessaryThrowsExceptionCheck for throws clauses on JUnit test methods. That is not necessary in Groovy.
174JavadocConsecutiveEmptyLinesChecks for javadoc comments with more than one consecutive empty line.
175JavadocEmptyAuthorTagChecks for empty @author tags within javadoc.
176JavadocEmptyExceptionTagChecks for empty @exception tag within javadoc.
177JavadocEmptyFirstLineCheck for javadoc comments with an empty top line.
178JavadocEmptyLastLineCheck for javadoc comments with an empty line at the bottom.
179JavadocEmptyParamTagChecks for empty @param tags within javadoc.
180JavadocEmptyReturnTagChecks for empty @return tags within javadoc.
181JavadocEmptySeeTagChecks for empty @see tags within javadoc.
182JavadocEmptySinceTagChecks for empty @since tags within javadoc.
183JavadocEmptyThrowsTagChecks for empty @throws tag within javadoc
184JavadocEmptyVersionTagChecks for empty @version tags within javadoc.
185JavadocMissingExceptionDescriptionChecks for missing description within @exception javadoc tags.
186JavadocMissingParamDescriptionChecks for missing description within @param javadoc tags.
187JavadocMissingThrowsDescriptionChecks for missing description within @throws javadoc tags.
188JdbcConnectionReferenceCheck for direct use of java.sql.Connection, which is discouraged and almost never necessary in application code.
189JdbcStatementReferenceCheck for direct use of java.sql.Statement, java.sql.PreparedStatement, or java.sql.CallableStatement, which is not necessary if using the Groovy Sql facility or an ORM framework such as Hibernate.
190LineLengthChecks the maximum length for each line of source code. It checks for number of characters, so lines that include tabs may appear longer than the allowed number when viewing the file. The maximum line length can be configured by setting the length property, which defaults to 120.
191LocaleSetDefaultChecks for calls to Locale.setDefault(), which sets the Locale across the entire JVM.
192LoggerForDifferentClassChecks for instantiating a logger (Log4J, SLF4J, Logback, Apache Commons Logging or Java Util Logging) for a class other than the current class.
193LoggerWithWrongModifiersLogger objects should be declared private, static and final. If subclasses should have access to a Logger in a parent class then the Logger should be declared protected, non-static and final. This rule find loggers that are not declared with these modifiers.
194LoggingSwallowsStacktraceIf you are logging an exception then the proper API is to call error(Object, Throwable), which will log the message and the exception stack trace. If you call error(Object) then the stacktrace may not be logged.
195LongLiteralWithLowerCaseLIn Java and Groovy, you can specify long literals with the L or l character, for instance 55L or 24l. It is best practice to always use an uppercase L and never a lowercase l. This is because 11l rendered in some fonts may look like 111 instead of 11L.
196MethodCountA class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.The maxMethods property (30) specifies the threshold.
197MethodNameVerifies that the name of each method matches a regular expression. By default it checks that the method name starts with a lowercase letter. The regex property specifies the regular expression to check the method name against. The ignoreMethodNames property (null) can specify method names that should be ignored, optionally containing wildcard characters ('*' or '?').
198MethodParameterTypeRequiredChecks that method parameters are not dynamically typed, that is they are explicitly stated and different than def.
199MethodReturnTypeRequiredChecks that method return types are not dynamic, that is they are explicitly stated and different than def.
200MisorderedStaticImportsStatic imports should never be declared after nonstatic imports.
201MissingBlankLineAfterImportsMakes sure there is a blank line after the imports of a source code file.
202MissingBlankLineAfterPackageMakes sure there is a blank line after the package statement of a source code file.
203MissingNewInThrowStatementA common Groovy mistake when throwing exceptions is to forget the new keyword. For instance, "throw RuntimeException()" instead of "throw new RuntimeException()". If the error path is not unit tested then the production system will throw a Method Missing exception and hide the root cause. This rule finds constructs like "throw RuntimeException()" that look like a new keyword was meant to be used but forgotten.
204MultipleLoggersThis rule catches classes that have more than one logger object defined. Typically, a class has zero or one logger objects.
205MultipleUnaryOperatorsChecks for multiple consecutive unary operators. These are confusing, and are likely typos and bugs.
206NestedForLoopReports classes with nested for loops.
207NestedSynchronizationNested synchronized statements should be avoided. Nested synchronized statements are either useless (if the lock objects are identical) or prone to deadlock.
208NoDefdef should not be used. You should replace it with concrete type.
209NoDoubleChecks for use of the double or Double types, in fields, variables, method parameters and method return types.
210NoFloatChecks for use of the float or Float types, in fields, variables, method parameters and method return types.
211NoJavaUtilDateDo not use java.util.Date. Prefer the classes in the java.time.* packages.
212NoTabCharacterChecks that all source files do not contain the tab character
213NoWildcardImportsWildcard imports, static or otherwise, should not be used.
214NonFinalPublicFieldFinds code that violates secure coding principles for mobile code by declaring a member variable public but not final.
215NonFinalSubclassOfSensitiveInterfaceThe permissions classes such as java.security.Permission and java.security.BasicPermission are designed to be extended. Classes that derive from these permissions classes, however, must prohibit extension. This prohibition ensures that malicious subclasses cannot change the properties of the derived class. Classes that implement sensitive interfaces such as java.security.PrivilegedAction and java.security.PrivilegedActionException must also be declared final for analogous reasons.
216ObjectFinalizeThe finalize() method should only be called by the JVM after the object has been garbage collected.
217ObjectOverrideMisspelledMethodNameVerifies that the names of the most commonly overridden methods of Object: equals, hashCode and toString, are correct.
218PackageNameVerifies that the package name for a class matches a regular expression. By default it checks that the package name consists of only lowercase letters, separated by periods. The regex property specifies the regular expression used to validate the package name. The packageNameRequired property indicates whether a package name declaration is required for all classes.
219PackageNameMatchesFilePathA package source file's path should match the package itself. To find the package-relevant subpath in the file path the groupId needs to be configured. It is expected in every package declaration.
220ParameterNameVerifies that the name of each parameter matches a regular expression. This rule applies to method parameters, constructor parameters and closure parameters. By default it checks that parameter names start with a lowercase letter and contains only letters or numbers. The regex property specifies the default regular expression used to validate the parameter name. The ignoreParameterNames property (null) can specify parameter names that should be ignored, optionally containing wildcard characters ('*' or '?').
221PrintStackTraceChecks for calls to printStackTrace().
222PrintlnChecks for calls to this.print(), this.println() or this.printf().
223PrivateFieldCouldBeFinalChecks for private fields that are only set within a constructor or field initializer. Such fields can safely be made final.
224PropertyNameVerifies that the name of each property matches a regular expression. By default it checks that property names other than 'static final' start with a lowercase letter and contains only letters or numbers, and 'static final' property names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate property names. The finalRegex property specifies the regular expression to validate 'final' property names. The staticRegex property specifies the regular expression to validate 'static' property names. The staticFinalRegex property specifies the regular expression to validate 'static final' property names. The ignorePropertyNames property (null) can specify property names that should be ignored, optionally containing wildcard characters ('*' or '?').
225PublicFinalizeMethodCreates a violation when the program violates secure coding principles by declaring a finalize() method public.
226PublicInstanceFieldUsing public fields is considered to be a bad design. Use properties instead.
227PublicMethodsBeforeNonPublicMethodsEnforce that all public methods are above protected and private methods.
228RandomDoubleCoercedToZeroThe Math.random() method returns a double result greater than or equal to 0.0 and less than 1.0. If you coerce this result into an Integer or int, then it is coerced to zero. Casting the result to int, or assigning it to an int field is probably a bug.
229RemoveAllOnSelfDon't use removeAll to clear a collection. If you want to remove all elements from a collection c, use c.clear, not c.removeAll(c). Calling c.removeAll(c) to clear a collection is less clear, susceptible to errors from typos, less efficient and for some collections, might throw a ConcurrentModificationException.
230RequiredRegexChecks for a specified regular expression that must exist within the source code. The regex property specifies the regular expression to check for. It is required and cannot be null or empty.
231RequiredStringChecks for a specified text string that must exist within the source code. The string property specifies the String to check for. It is required and cannot be null or empty.
232ReturnFromFinallyBlockReturning from a finally block is confusing and can hide the original exception.
233ReturnNullFromCatchBlockReturning null from a catch block often masks errors and requires the client to handle error codes. In some coding styles this is discouraged.
234ReturnsNullInsteadOfEmptyArrayConsider returning a zero length array rather than null. It is often a better design to return a length zero array rather than a null reference to indicate that there are no results (i.e., an empty list of results). This way, no explicit check for null is needed by clients of the method.
235ReturnsNullInsteadOfEmptyCollectionConsider returning a zero length collection rather than null. It is often a better design to return a length zero collection rather than a null reference to indicate that there are no results (i.e., an empty list of results). This way, no explicit check for null is needed by clients of the method.
236SerialPersistentFieldsTo use a Serializable object's serialPersistentFields correctly, it must be declared private, static, and final.
237SerialVersionUIDA serialVersionUID is normally intended to be used with Serialization. It needs to be of type long, static, and final. Also, it should have a visibility modifier such as public or private. Providing no modifier creates a Property and Groovy generates a getter, which is probably not intended.
238SerializableClassMustDefineSerialVersionUIDClasses that implement Serializable should define a serialVersionUID. If you don't define serialVersionUID, the system will make one by hashing most of your class's features. Then if you change anything, the UID will change and Java won't let you reload old data.
239SimpleDateFormatMissingLocaleBe sure to specify a Locale when creating a new instance of SimpleDateFormat; the class is locale-sensitive. If you instantiate SimpleDateFormat without a Locale parameter, it will format the date and time according to the default Locale. Both the pattern and the Locale determine the format. For the same pattern, SimpleDateFormat may format a date and time differently if the Locale varies.
240SpaceAfterCatchCheck that there is exactly one space (blank) after the catch keyword and before the opening parenthesis.
241SpaceAfterClosingBraceCheck that there is at least one space (blank) or whitespace after each closing brace ("}") for method/class/interface declarations, closure expressions and block statements.
242SpaceAfterCommaChecks that there is at least one space or whitespace following each comma. That includes checks for method and closure declaration parameter lists, method call parameter lists, Map literals and List literals.
243SpaceAfterForCheck that there is exactly one space (blank) after the for keyword and before the opening parenthesis.
244SpaceAfterIfCheck that there is exactly one space (blank) after the if keyword and before the opening parenthesis.
245SpaceAfterOpeningBraceCheck that there is at least one space (blank) or whitespace after each opening brace ("{") for method/class/interface declarations, closure expressions and block statements.
246SpaceAfterSemicolonChecks that there is at least one space or whitespace following each semicolon separating multiple statements on a single line or the clauses within a classic for loop.
247SpaceAfterSwitchCheck that there is exactly one space (blank) after the switch keyword and before the opening parenthesis.
248SpaceAfterWhileCheck that there is exactly one space (blank) after the while keyword and before the opening parenthesis.
249SpaceAroundClosureArrowChecks that there is whitespace around the closure arrow (->) symbol
250SpaceAroundMapEntryColonCheck for configured formatting of whitespace around colons for literal Map entries. The characterBeforeColonRegex and characterAfterColonRegex properties specify a regular expression that must match the character before/after the colon.
251SpaceAroundOperatorCheck that there is at least one space (blank) or whitespace around each binary operator.
252SpaceBeforeClosingBraceCheck that there is at least one space (blank) or whitespace before each closing brace ("}") for method/class/interface declarations, closure expressions and block statements.
253SpaceBeforeOpeningBraceCheck that there is at least one space (blank) or whitespace before each opening brace ("{") for method/class/interface declarations, closure expressions and block statements.
254SpockIgnoreRestUsedIf Spock's @IgnoreRest appears on any method, all non-annotated test methods are not executed. This behaviour is almost always unintended. It's fine to use @IgnoreRest locally during development, but when committing code, it should be removed.
255StatelessClassChecks for fields on classes that should remain "stateless" and reentrant. The ignoreFieldNames property (null) specifies one or more field names that should be ignored. The ignoreFieldTypes property specifies one or more field type names that should be ignored. Both can optionally contain wildcard characters ('*' or '?').
256StatelessSingletonThere is no point in creating a stateless Singleton because there is nothing within the class that needs guarding and no side effects to calling the constructor. Just create new instances of the object or write a Utility class with static methods.
257StaticCalendarFieldCalendar objects should not be used as static fields. Calendars are inherently unsafe for multihtreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application.
258StaticConnectionCreates violations when a java.sql.Connection object is used as a static field. Database connections stored in static fields will be shared between threads, which is unsafe and can lead to race conditions.
259StaticDateFormatFieldDateFormat objects should not be used as static fields. DateFormat are inherently unsafe for multithreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application.
260StaticFieldsBeforeInstanceFieldsEnforce that all static fields are above all instance fields within a class
261StaticMatcherFieldMatcher objects should not be used as static fields. Matcher instances are inherently unsafe for multithreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application.
262StaticMethodsBeforeInstanceMethodsEnforce that all static methods are above all instance methods within a class
263StaticSimpleDateFormatFieldSimpleDateFormat objects should not be used as static fields. SimpleDateFormat are inherently unsafe for multi-threaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application.
264SwallowThreadDeathChecks for code that catches ThreadDeath without re-throwing it.
265SynchronizedMethodThis rule reports uses of the synchronized keyword on methods. Synchronized methods are the same as synchronizing on 'this', which effectively make your synchronization policy public and modifiable by other objects. To avoid possibilities of deadlock, it is better to synchronize on internal objects.
266SynchronizedOnBoxedPrimitiveThe code synchronizes on a boxed primitive constant, such as an Integer. Since Integer objects can be cached and shared, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock
267SynchronizedOnGetClassSynchronization on getClass rather than class literal. This instance method synchronizes on this.getClass(). If this class is subclassed, subclasses will synchronize on the class object for the subclass, which isn't likely what was intended.
268SynchronizedOnReentrantLockSynchronizing on a ReentrantLock field is almost never the intended usage. A ReentrantLock should be obtained using the lock() method and released in a finally block using the unlock() method.
269SynchronizedOnStringSynchronization on a String field can lead to deadlock because Strings are interned by the JVM and can be shared.
270SynchronizedOnThisThis rule reports uses of the synchronized blocks where the synchronization reference is 'this'. Doing this effectively makes your synchronization policy public and modifiable by other objects. To avoid possibilities of deadlock, it is better to synchronize on internal objects.
271SynchronizedReadObjectMethodCatches Serializable classes that define a synchronized readObject method. By definition, an object created by deserialization is only reachable by one thread, and thus there is no need for readObject() to be synchronized. If the readObject() method itself is causing the object to become visible to another thread, that is an example of very dubious coding style.
272SystemErrPrintChecks for calls to System.err.print(), System.err.println() or System.err.printf().
273SystemExitWeb applications should never call System.exit(). A call to System.exit() is probably part of leftover debug code or code imported from a non-J2EE application.
274SystemOutPrintChecks for calls to System.out.print(), System.out.println() or System.out.printf().
275SystemRunFinalizersOnExitMethod calls to System.runFinalizersOnExit() should not be allowed. This method is inherently non-thread-safe, may result in data corruption, deadlock, and may effect parts of the program far removed from it's call point. It is deprecated, and it's use strongly discouraged.
276TernaryCouldBeElvisChecks for ternary expressions where the boolean and true expressions are the same. These can be simplified to an Elvis expression.
277ThisReferenceEscapesConstructorReports constructors passing the 'this' reference to other methods. This equals exposing a half-baked objects and can lead to race conditions during initialization. For reference, see Java Concurrency Gotchas by Alex Miller and Java theory and practice: Safe construction techniques by Brian Goetz.
278ThreadLocalNotStaticFinalThreadLocal fields should be static and final. In the most common case a java.lang.ThreadLocal instance associates state with a thread. A non-static non-final java.lang.ThreadLocal field associates state with an instance-thread combination. This is seldom necessary and often a bug which can cause memory leaks and possibly incorrect behavior.
279ThreadYieldMethod calls to Thread.yield() should not be allowed. This method has no useful guaranteed semantics, and is often used by inexperienced programmers to mask race conditions.
280ThrowErrorChecks for throwing an instance of java.lang.Error.
281ThrowExceptionChecks for throwing an instance of java.lang.Exception.
282ThrowExceptionFromFinallyBlockThrowing an exception from a finally block is confusing and can hide the original exception.
283ThrowNullPointerExceptionChecks for throwing an instance of java.lang.NullPointerException.
284ThrowRuntimeExceptionChecks for throwing an instance of java.lang.RuntimeException.
285ThrowThrowableChecks for throwing an instance of java.lang.Throwable.
286ToStringReturnsNullChecks for toString() methods that return null.
287TrailingWhitespaceChecks that no lines of source code end with whitespace characters.
288UnnecessaryBigDecimalInstantiationIt is unnecessary to instantiate BigDecimal objects. Instead just use the decimal literal or the 'G' identifier to force the type, such as 123.45 or 123.45G.
289UnnecessaryBigIntegerInstantiationIt is unnecessary to instantiate BigInteger objects. Instead just use the literal with the 'G' identifier to force the type, such as 8G or 42G.
290UnnecessaryBooleanExpressionChecks for unnecessary boolean expressions, including ANDing (&&) or ORing (||) with true, false, null, or a Map/List/String/Number literal. Also checks for negation (!) of true, false, null, or a Map/List/String/Number literal.
291UnnecessaryBooleanInstantiationUse Boolean.valueOf() for variable values or Boolean.TRUE and Boolean.FALSE for constant values instead of calling the Boolean() constructor directly or calling Boolean.valueOf(true) or Boolean.valueOf(false).
292UnnecessaryCallForLastElementThis rule checks for excessively verbose methods of accessing the last element of an array or list. For instance, it is possible to access the last element of an array by performing array[array.length - 1], in Groovy it is simpler to either call array.last() or array[-1]. The same is true for lists. This violation is triggered whenever a get, getAt, or array-style access is used with an object size check.
293UnnecessaryCallToSubstringCalling String.substring(0) always returns the original string. This code is meaningless.
294UnnecessaryCastChecks for unnecessary cast operations
295UnnecessaryCatchBlockViolations are triggered when a catch block does nothing but throw the original exception. In this scenario there is usually no need for a catch block, just let the exception be thrown from the original code. This condition frequently occurs when catching an exception for debugging purposes but then forgetting to take the catch statement out.
296UnnecessaryCollectCallSome method calls to Object.collect(Closure) can be replaced with the spread operator. For instance, list.collect { it.multiply(2) } can be replaced by list*.multiply(2). Warning: if a collection is null, collect will return an empty list, while *. will return null.
297UnnecessaryCollectionCallUseless call to collections. This call doesn't make sense. For any collection c, calling c.containsAll(c) should always be true, and c.retainAll(c) should have no effect.
298UnnecessaryConstructorThis rule detects when a constructor is not necessary; i.e., when there's only one constructor, it's public, has an empty body, and takes no arguments.
299UnnecessaryDefInFieldDeclarationIf a field has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance, 'static def constraints = {}' is redundant and can be simplified to 'static constraints = {}.
300UnnecessaryDefInMethodDeclarationIf a method has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance 'def private method() {}' is redundant and can be simplified to 'private method() {}'.
301UnnecessaryDefInVariableDeclarationIf a variable has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance 'def private n = 2' is redundant and can be simplified to 'private n = 2'.
302UnnecessaryDotClassTo make a reference to a class, it is unnecessary to specify the '.class' identifier. For instance String.class can be shortened to String.
303UnnecessaryDoubleInstantiationIt is unnecessary to instantiate Double objects. Instead just use the double literal or the 'D' identifier to force the type, such as 123.45d or 0.42d.
304UnnecessaryElseStatementWhen an if statement block ends with a return statement the else is unnecessary. The logic in the else branch can be run without being in a new scope.
305UnnecessaryFailIn a unit test, catching an exception and immediately calling Assert.fail() is pointless and hides the stack trace. It is better to rethrow the exception or not catch the exception at all.
306UnnecessaryFinalOnPrivateMethodA private method is marked final. Private methods cannot be overridden, so marking it final is unnecessary.
307UnnecessaryFloatInstantiationIt is unnecessary to instantiate Float objects. Instead just use the float literal with the 'F' identifier to force the type, such as 123.45F or 0.42f.
308UnnecessaryGStringString objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers.
309UnnecessaryGroovyImportA Groovy file does not need to include an import for classes from java.lang, java.util, java.io, java.net, groovy.lang and groovy.util, as well as the classes java.math.BigDecimal and java.math.BigInteger.
310UnnecessaryIfStatementChecks for if statements where the if and else blocks (or subsequent fall-through to a return) are merely returning true and false constants. These cases can be replaced by a simple return statement.
311UnnecessaryInstanceOfCheckThis rule finds instanceof checks that cannot possibly evaluate to true. For instance, checking that (!variable instanceof String) will never be true because the result of a not expression is always a boolean.
312UnnecessaryInstantiationToGetClassAvoid instantiating an object just to call getClass() on it; use the .class public member instead.
313UnnecessaryIntegerInstantiationIt is unnecessary to instantiate Integer objects. Instead just use the literal with the 'I' identifier to force the type, such as 8I or 42i.
314UnnecessaryLongInstantiationIt is unnecessary to instantiate Long objects. Instead just use the literal with the 'L' identifier to force the type, such as 8L or 42L.
315UnnecessaryModOneAny expression mod 1 (exp % 1) is guaranteed to always return zero. This code is probably an error, and should be either (exp & 1) or (exp % 2).
316UnnecessaryNullCheckGroovy contains the safe dereference operator, which can be used in boolean conditional statements to safely replace explicit "x == null" tests.
317UnnecessaryNullCheckBeforeInstanceOfThere is no need to check for null before an instanceof; the instanceof keyword returns false when given a null argument.
318UnnecessaryObjectReferencesViolations are triggered when an excessive set of consecutive statements all reference the same variable. This can be made more readable by using a with or identity block.
319UnnecessaryOverridingMethodThe overriding method merely calls the same method defined in a superclass
320UnnecessaryPackageReferenceChecks for explicit package reference for classes that Groovy imports by default, such as java.lang.String, java.util.Map and groovy.lang.Closure.
321UnnecessaryParenthesesForMethodCallWithClosureIf a method is called and the only parameter to that method is an inline closure then the parentheses of the method call can be omitted.
322UnnecessaryPublicModifierThe 'public' modifier is not required on methods or classes.
323UnnecessarySafeNavigationOperatorCheck for the safe navigation operator (?.) applied to constants and literals, which can never be null.
324UnnecessarySelfAssignmentMethod contains a pointless self-assignment to a variable or property.
325UnnecessarySemicolonSemicolons as line terminators are not required in Groovy: remove them. Do not use a semicolon as a replacement for empty braces on for and while loops; this is a confusing practice.
326UnnecessaryStringInstantiationUse a String literal (e.g., "...") instead of calling the corresponding String constructor (new String("..")) directly.
327UnnecessaryTernaryExpressionChecks for ternary expressions where the conditional expression always evaluates to a boolean and the true and false expressions are merely returning true and false constants. Also checks for ternary expressions where both expressions are the same constant or variable.
328UnnecessaryToStringChecks for unnecessary calls to toString().
329UnnecessaryTransientModifierThe field is marked as transient, but the class isn't Serializable, so marking it as transient has no effect.
330UnsafeArrayDeclarationTriggers a violation when an array is declared public, final, and static. Secure coding principles state that, in most cases, an array declared public, final and static is a bug because arrays are mutable objects.
331UnusedArrayChecks for array allocations that are not assigned or used, unless it is the last statement within a block.
332UnusedImportImports for a class that is never referenced within the source file is unnecessary.
333UnusedMethodParameterThis rule finds instances of method parameters not being used. It does not analyze private methods (that is done by the UnusedPrivateMethodParameter rule) or methods marked @Override.
334UnusedObjectChecks for object allocations that are not assigned or used, unless it is the last statement within a block
335UnusedPrivateFieldChecks for private fields that are not referenced within the same class.
336UnusedPrivateMethodChecks for private methods that are not referenced within the same class.
337UnusedPrivateMethodParameterChecks for parameters to private methods that are not referenced within the method body.
338UnusedVariableChecks for variables that are never referenced. The ignoreVariableNames property (null) specifies one or more variable names that should be ignored, optionally containing wildcard characters ('*' or '?').
339UseAssertEqualsInsteadOfAssertTrueThis rule detects JUnit assertions in object equality. These assertions should be made by more specific methods, like assertEquals.
340UseAssertFalseInsteadOfNegationIn unit tests, if a condition is expected to be false then there is no sense using assertTrue with the negation operator. For instance, assertTrue(!condition) can always be simplified to assertFalse(condition)
341UseAssertNullInsteadOfAssertEqualsThis rule detects JUnit calling assertEquals where the first or second parameter is null. These assertion should be made against the assertNull method instead.
342UseAssertSameInsteadOfAssertTrueThis rule detects JUnit calling assertTrue where the first or second parameter is an Object#is() call testing for reference equality. These assertion should be made against the assertSame method instead.
343UseAssertTrueInsteadOfAssertEqualsThis rule detects JUnit calling assertEquals where the first parameter is a boolean. These assertions should be made by more specific methods, like assertTrue or assertFalse.
344UseAssertTrueInsteadOfNegationIn unit tests, if a condition is expected to be true then there is no sense using assertFalse with the negation operator. For instance, assertFalse(!condition) can always be simplified to assertTrue(condition)
345UseCollectManyIn many case collectMany() yields the same result as collect{}.flatten(). It is easier to understand and more clearly conveys the intent.
346UseCollectNestedInstead of nested collect{}-calls use collectNested{}
347UseOfNotifyMethodThis code calls notify() rather than notifyAll(). Java monitors are often used for multiple conditions. Calling notify() only wakes up one thread, meaning that the thread woken up might not be the one waiting for the condition that the caller just satisfied.
348VariableNameVerifies that the name of each method matches a regular expression. By default it checks that non-'final' variable names start with a lowercase letter and contains only letters or numbers, and 'final' variable names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate a non-'final' variable name. The finalRegex property specifies the regular expression used to validate 'final' variable names. The ignoreVariableNames property (null) can specify variable names that should be ignored, optionally containing wildcard characters ('*' or '?').
349VariableTypeRequiredChecks that variable types are explicitly specified in declarations (and not using def)
350VectorIsObsoleteThe java.util.Vector class is effectively obsolete. Use the Java Collections Framework classes instead, including ArrayList or Collections.synchronizedList(). See the JDK javadoc.
351VolatileArrayFieldVolatile array fields are unsafe because the contents of the array are not treated as volatile. Changing the entire array reference is visible to other threads, but changing an array element is not.
352VolatileLongOrDoubleFieldLong or double fields should not be declared as volatile. Java specifies that reads and writes from such fields are atomic, but many JVM's have violated this specification. Unless you are certain of your JVM, it is better to synchronize access to such fields rather than declare them volatile. This rule flags fields marked volatile when their type is double or long or the name of their type is "Double" or "Long".
353WaitOutsideOfWhileLoopCalls to Object.wait() must be within a while loop. Consider using the Java concurrency utilities instead of wait() and notify().
354WhileStatementBracesUse braces for while statements, even for a single statement.