Skip to content

Commit 2df0688

Browse files
committed
Improved: Java code contains unnecessary semicolons
(OFBIZ-10936) Loosely related: Groovy code don't even needs them :) Thanks: Mathieu for creating the Jira git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1858220 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0100832 commit 2df0688

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

applications/product/groovyScripts/facility/shipment/PackOrder.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ if (facility) {
180180
if (!defaultWeightUomId) {
181181
defaultWeightUomId = EntityUtilProperties.getPropertyValue("shipment", "shipment.default.weight.uom", "WT_kg", delegator)
182182
}
183-
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne();;
183+
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne()
184184
context.defaultWeightUomId = defaultWeightUomId

applications/product/groovyScripts/facility/shipment/WeightPackage.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ if (facility) {
192192
if (!defaultDimensionUomId) {
193193
defaultDimensionUomId = EntityUtilProperties.getPropertyValue("shipment", "shipment.default.dimension.uom", "LEN_in", delegator)
194194
}
195-
context.defaultDimensionUom = from("Uom").where("uomId", defaultDimensionUomId).cache().queryOne();;
195+
context.defaultDimensionUom = from("Uom").where("uomId", defaultDimensionUomId).cache().queryOne()
196196
context.defaultDimensionUomId = defaultDimensionUomId
197197

198198
defaultWeightUomId = null
@@ -203,5 +203,5 @@ if (!defaultWeightUomId) {
203203
defaultWeightUomId = EntityUtilProperties.getPropertyValue("shipment", "shipment.default.weight.uom", "WT_kg", delegator)
204204
}
205205

206-
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne();;
206+
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne()
207207
context.defaultWeightUomId = defaultWeightUomId

0 commit comments

Comments
 (0)