diff --git a/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java b/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java index 0d8077ddf3..0420c36f6c 100644 --- a/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java +++ b/org.adempiere.base/src/org/adempiere/util/ModelInterfaceGenerator.java @@ -189,8 +189,11 @@ public class ModelInterfaceGenerator start.append("/** Generated Interface for ").append(tableName).append("\n") .append(" * @author iDempiere (generated) \n") .append(" * @version ").append(Adempiere.MAIN_VERSION).append(NL) //.append(" - ").append(s_run).append("\n") - .append(" */\n") - .append("public interface ").append(className).append(" {").append("\n") + .append(" */\n"); + if (!packageName.equals("org.compiere.model")) { + start.append("@SuppressWarnings(\"unused\")\n"); + } + start.append("public interface ").append(className).append(" {").append("\n") .append(" /** TableName=").append(tableName).append(" */\n") .append(" public static final String Table_Name = \"").append(tableName).append("\";\n") diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java index 2175ec951e..349dcfda2d 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxBase.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_C_TaxBase { diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java index 66c1e4159f..4de709547c 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxDefinition.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_C_TaxDefinition { diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java index cbb262fe29..eb049c08bf 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxGroup.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_C_TaxGroup { diff --git a/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java b/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java index ea12ce4e70..90f4a69a7e 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java +++ b/org.adempiere.base/src/org/eevolution/model/I_C_TaxType.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_C_TaxType { diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java index 76acfea2f0..97da7d7687 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistribution.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_DD_NetworkDistribution { diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java index aa383e106d..bbca9b5eca 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_NetworkDistributionLine.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_DD_NetworkDistributionLine { diff --git a/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java b/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java index 0ecf082769..3bd1d6fbbf 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java +++ b/org.adempiere.base/src/org/eevolution/model/I_DD_Order.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_DD_Order { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java index efb198857f..11936b1214 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Concept.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Concept { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java index 30e9f5d73d..d32ac0b865 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Contract.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Contract { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java index 8e20fec9cb..9153c22566 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Department.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Department { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java index 61c05aeebc..9e66e29582 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Employee.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Employee { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java index ea896c486b..5d66bd28e5 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Job.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Job { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_List.java b/org.adempiere.base/src/org/eevolution/model/I_HR_List.java index 0dca85a597..3143d3c1f7 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_List.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_List.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_List { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java index 32c558d34d..57ceb11785 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListLine.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_ListLine { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java index 495dc7bf93..49a25bc34f 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListType.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_ListType { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java b/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java index f3835b911f..44360f9df4 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_ListVersion.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_ListVersion { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java index ae9e752c94..ca761c5eb5 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Movement.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Movement { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java index 926978b9fc..4a0b4d1738 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Payroll.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Payroll { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java b/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java index 0a94773eae..3fe2e0a99b 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_PayrollConcept.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_PayrollConcept { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java index 2e56a27485..bc786cdde7 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Period.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Period { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java index e7254a68b1..299c30fe2e 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Process.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Process { diff --git a/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java b/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java index 2172b64b0f..dda76c90ab 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java +++ b/org.adempiere.base/src/org/eevolution/model/I_HR_Year.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_HR_Year { diff --git a/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java b/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java index eaeb5a2d6f..08dc294dfb 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java +++ b/org.adempiere.base/src/org/eevolution/model/I_I_HR_Movement.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_I_HR_Movement { diff --git a/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java b/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java index 98c89f494c..b6546316aa 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java +++ b/org.adempiere.base/src/org/eevolution/model/I_I_ProductPlanning.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_I_ProductPlanning { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java b/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java index e1aa10aeae..e4792adb8a 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_MRP.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_MRP { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java index fb6b21abd3..098a9f5801 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Order_Node { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java index 02660681c2..7168385af8 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_NodeNext.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Order_NodeNext { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java index addfeaafd1..8cf91bd74e 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Asset.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Order_Node_Asset { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java index a4375d594e..8770725dfc 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Node_Product.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Order_Node_Product { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java index 6563cda632..222f356cf6 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Order_Workflow.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Order_Workflow { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java index c84433c8ab..fe2ecb056b 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_Product_Planning.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_Product_Planning { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java index 869183c1f8..17114bdcf9 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Asset.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_WF_Node_Asset { diff --git a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java index ba6ca0acd8..d22a12e009 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java +++ b/org.adempiere.base/src/org/eevolution/model/I_PP_WF_Node_Product.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_PP_WF_Node_Product { diff --git a/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java b/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java index b02b308de3..d6aa2172b2 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java +++ b/org.adempiere.base/src/org/eevolution/model/I_QM_Specification.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_QM_Specification { diff --git a/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java b/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java index 14f4338292..b247b49b41 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_QM_SpecificationLine.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_QM_SpecificationLine { diff --git a/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java b/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java index 6c0ed8659e..4176e26023 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java +++ b/org.adempiere.base/src/org/eevolution/model/I_T_BOMLine.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_T_BOMLine { diff --git a/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java b/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java index 809dbea865..ddddf1e366 100644 --- a/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java +++ b/org.adempiere.base/src/org/eevolution/model/I_T_MRP_CRP.java @@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair; * @author iDempiere (generated) * @version Release 1.0a */ +@SuppressWarnings("unused") public interface I_T_MRP_CRP {