Skip to content
Permalink
Browse files

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
  • Loading branch information
JacquesLeRoux committed Apr 26, 2019
1 parent 0100832 commit 2df068855b7a69fe2640c4c031807a87a7012193
@@ -180,5 +180,5 @@ if (facility) {
if (!defaultWeightUomId) {
defaultWeightUomId = EntityUtilProperties.getPropertyValue("shipment", "shipment.default.weight.uom", "WT_kg", delegator)
}
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne();;
context.defaultWeightUom = from("Uom").where("uomId", defaultWeightUomId).cache().queryOne()
context.defaultWeightUomId = defaultWeightUomId
@@ -192,7 +192,7 @@ if (facility) {
if (!defaultDimensionUomId) {
defaultDimensionUomId = EntityUtilProperties.getPropertyValue("shipment", "shipment.default.dimension.uom", "LEN_in", delegator)
}
context.defaultDimensionUom = from("Uom").where("uomId", defaultDimensionUomId).cache().queryOne();;
context.defaultDimensionUom = from("Uom").where("uomId", defaultDimensionUomId).cache().queryOne()
context.defaultDimensionUomId = defaultDimensionUomId

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

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

0 comments on commit 2df0688

Please sign in to comment.
You can’t perform that action at this time.