IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> The import ___ is never used

This commit is contained in:
Carlos Ruiz 2012-12-12 18:11:37 -05:00
parent 2cd9a1d0f1
commit 9e77388cf4
38 changed files with 42 additions and 2 deletions

View File

@ -189,8 +189,11 @@ public class ModelInterfaceGenerator
start.append("/** Generated Interface for ").append(tableName).append("\n") start.append("/** Generated Interface for ").append(tableName).append("\n")
.append(" * @author iDempiere (generated) \n") .append(" * @author iDempiere (generated) \n")
.append(" * @version ").append(Adempiere.MAIN_VERSION).append(NL) //.append(" - ").append(s_run).append("\n") .append(" * @version ").append(Adempiere.MAIN_VERSION).append(NL) //.append(" - ").append(s_run).append("\n")
.append(" */\n") .append(" */\n");
.append("public interface ").append(className).append(" {").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(" /** TableName=").append(tableName).append(" */\n")
.append(" public static final String Table_Name = \"").append(tableName).append("\";\n") .append(" public static final String Table_Name = \"").append(tableName).append("\";\n")

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_C_TaxBase public interface I_C_TaxBase
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_C_TaxDefinition public interface I_C_TaxDefinition
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_C_TaxGroup public interface I_C_TaxGroup
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_C_TaxType public interface I_C_TaxType
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_DD_NetworkDistribution public interface I_DD_NetworkDistribution
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_DD_NetworkDistributionLine public interface I_DD_NetworkDistributionLine
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_DD_Order public interface I_DD_Order
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Concept public interface I_HR_Concept
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Contract public interface I_HR_Contract
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Department public interface I_HR_Department
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Employee public interface I_HR_Employee
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Job public interface I_HR_Job
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_List public interface I_HR_List
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_ListLine public interface I_HR_ListLine
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_ListType public interface I_HR_ListType
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_ListVersion public interface I_HR_ListVersion
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Movement public interface I_HR_Movement
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Payroll public interface I_HR_Payroll
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_PayrollConcept public interface I_HR_PayrollConcept
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Period public interface I_HR_Period
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Process public interface I_HR_Process
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_HR_Year public interface I_HR_Year
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_I_HR_Movement public interface I_I_HR_Movement
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_I_ProductPlanning public interface I_I_ProductPlanning
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_MRP public interface I_PP_MRP
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Order_Node public interface I_PP_Order_Node
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Order_NodeNext public interface I_PP_Order_NodeNext
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Order_Node_Asset public interface I_PP_Order_Node_Asset
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Order_Node_Product public interface I_PP_Order_Node_Product
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Order_Workflow public interface I_PP_Order_Workflow
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_Product_Planning public interface I_PP_Product_Planning
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_WF_Node_Asset public interface I_PP_WF_Node_Asset
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_PP_WF_Node_Product public interface I_PP_WF_Node_Product
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_QM_Specification public interface I_QM_Specification
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_QM_SpecificationLine public interface I_QM_SpecificationLine
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_T_BOMLine public interface I_T_BOMLine
{ {

View File

@ -25,6 +25,7 @@ import org.compiere.util.KeyNamePair;
* @author iDempiere (generated) * @author iDempiere (generated)
* @version Release 1.0a * @version Release 1.0a
*/ */
@SuppressWarnings("unused")
public interface I_T_MRP_CRP public interface I_T_MRP_CRP
{ {