diff --git a/base/src/org/compiere/model/MBOMProduct.java b/base/src/org/compiere/model/MBOMProduct.java index 97f4455e9b..66467c7469 100644 --- a/base/src/org/compiere/model/MBOMProduct.java +++ b/base/src/org/compiere/model/MBOMProduct.java @@ -16,12 +16,9 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.PreparedStatement; import java.sql.ResultSet; -import java.util.ArrayList; import java.util.List; import java.util.Properties; -import java.util.logging.Level; import org.compiere.util.CLogger; import org.compiere.util.DB; @@ -50,7 +47,7 @@ public class MBOMProduct extends X_M_BOMProduct { //FR: [ 2214883 ] Remove SQL code and Replace for Query - red1 String whereClause = "M_BOM_ID=?"; - List list = new Query(bom.getCtx(), I_M_BOMProduct.Table_Name, whereClause, bom.get_TrxName()) // @TODO: Review implications of using transaction + List list = new Query(bom.getCtx(), I_M_BOMProduct.Table_Name, whereClause, bom.get_TrxName()) .setParameters(bom.getM_BOM_ID()) .setOrderBy("SeqNo") .list();