IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse warning -> The import ___ is never used
This commit is contained in:
parent
cbe8d69e30
commit
2cd9a1d0f1
|
@ -25,7 +25,6 @@ import org.compiere.model.MAcctSchema;
|
|||
import org.compiere.model.MBankAccount;
|
||||
import org.compiere.model.MBankStatement;
|
||||
import org.compiere.model.MBankStatementLine;
|
||||
import org.compiere.model.MPeriod;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,10 +40,8 @@ import org.compiere.model.MTable;
|
|||
import org.compiere.model.Query;
|
||||
import org.compiere.process.ProcessInfoParameter;
|
||||
import org.compiere.process.SvrProcess;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
import org.compiere.util.Msg;
|
||||
import org.eevolution.model.I_I_Movement;
|
||||
import org.eevolution.model.X_I_Movement;
|
||||
|
||||
|
||||
|
|
|
@ -28,12 +28,9 @@
|
|||
***********************************************************************/
|
||||
package test.functional;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.compiere.model.MAlert;
|
||||
import org.compiere.model.MAlertProcessor;
|
||||
import org.compiere.model.MAlertProcessorLog;
|
||||
import org.compiere.model.MProductPricing;
|
||||
import org.compiere.model.X_AD_AlertProcessor;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.Env;
|
||||
|
|
|
@ -16,7 +16,6 @@ package test.functional;
|
|||
import org.compiere.model.MAttribute;
|
||||
import org.compiere.model.MAttributeInstance;
|
||||
import org.compiere.model.MAttributeValue;
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
import test.AdempiereTestCase;
|
||||
|
|
|
@ -1,17 +1,8 @@
|
|||
//MBPartnerTest.java
|
||||
package test.functional;
|
||||
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import org.compiere.model.MBPGroup;
|
||||
import org.compiere.model.MBPartner;
|
||||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
import test.AdempiereTestCase;
|
||||
|
||||
public class MBPartnerTest extends AdempiereTestCase {
|
||||
|
|
|
@ -15,8 +15,6 @@ package test.functional;
|
|||
|
||||
import org.compiere.model.MPInstance;
|
||||
import org.compiere.model.MPInstancePara;
|
||||
import org.compiere.model.MPaySelection;
|
||||
import org.compiere.model.MPaySelectionLine;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
import test.AdempiereTestCase;
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
*****************************************************************************/
|
||||
package test.functional;
|
||||
|
||||
import org.compiere.model.MInvoice;
|
||||
import org.compiere.model.MPayment;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
package test.functional;
|
||||
|
||||
import org.compiere.model.MBOM;
|
||||
import org.compiere.model.MLocation;
|
||||
import org.compiere.model.MProductBOM;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
//MProductTest.java
|
||||
package test.functional;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
|
||||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.model.MProductPricing;
|
||||
import org.compiere.model.X_I_Product;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.Env;
|
||||
|
||||
import test.AdempiereTestCase;
|
||||
|
||||
public class MProductTest extends AdempiereTestCase {
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
package org.adempiere.client;
|
||||
|
||||
import org.adempiere.base.Service;
|
||||
import org.adempiere.base.ServiceQuery;
|
||||
import org.compiere.apps.form.FormPanel;
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,7 +50,6 @@ import org.compiere.model.MAttributeValue;
|
|||
import org.compiere.model.MProduct;
|
||||
import org.compiere.model.MProductPrice;
|
||||
import org.compiere.model.MRole;
|
||||
import org.compiere.model.MStorageOnHand;
|
||||
import org.compiere.model.MStorageReservation;
|
||||
import org.compiere.swing.CComboBox;
|
||||
import org.compiere.swing.CLabel;
|
||||
|
|
|
@ -20,7 +20,6 @@ import java.awt.Frame;
|
|||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import org.adempiere.plaf.AdempierePLAF;
|
||||
import org.compiere.apps.ALayout;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package org.compiere.apps.wf;
|
||||
|
||||
import javax.swing.JMenuItem;
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.Env;
|
||||
|
|
|
@ -35,10 +35,7 @@ import net.miginfocom.layout.BoundSize;
|
|||
import net.miginfocom.layout.ComponentWrapper;
|
||||
import net.miginfocom.layout.ConstraintParser;
|
||||
import net.miginfocom.layout.LayoutCallback;
|
||||
import net.miginfocom.layout.UnitValue;
|
||||
import net.miginfocom.swing.MigLayout;
|
||||
import net.miginfocom.swing.SwingComponentWrapper;
|
||||
import net.miginfocom.swing.SwingContainerWrapper;
|
||||
|
||||
import org.adempiere.plaf.AdempierePLAF;
|
||||
import org.compiere.apps.APanel;
|
||||
|
@ -46,7 +43,6 @@ import org.compiere.grid.ed.VButton;
|
|||
import org.compiere.grid.ed.VCheckBox;
|
||||
import org.compiere.grid.ed.VEditor;
|
||||
import org.compiere.grid.ed.VEditorFactory;
|
||||
import org.compiere.grid.ed.VLine;
|
||||
import org.compiere.model.GridField;
|
||||
import org.compiere.model.X_AD_FieldGroup;
|
||||
import org.compiere.swing.CLabel;
|
||||
|
@ -54,7 +50,6 @@ import org.compiere.swing.CPanel;
|
|||
import org.compiere.swing.CTabbedPane;
|
||||
import org.compiere.swing.CollapsiblePanel;
|
||||
import org.compiere.util.CLogger;
|
||||
import org.compiere.util.DB;
|
||||
import org.compiere.util.DisplayType;
|
||||
import org.compiere.util.Language;
|
||||
import org.compiere.util.Util;
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.compiere.print;
|
|||
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.ActionListener;
|
||||
import java.awt.print.PrinterJob;
|
||||
|
||||
import javax.print.PrintService;
|
||||
import javax.print.PrintServiceLookup;
|
||||
|
|
|
@ -41,7 +41,6 @@ import java.sql.PreparedStatement;
|
|||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.Properties;
|
||||
import java.util.logging.Level;
|
||||
|
||||
|
@ -102,7 +101,6 @@ import org.compiere.util.Language;
|
|||
import org.compiere.util.Login;
|
||||
import org.compiere.util.Msg;
|
||||
import org.compiere.util.NamePair;
|
||||
import org.compiere.util.TimeUtil;
|
||||
import org.compiere.util.ValueNamePair;
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
package org.compiere.swing;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.awt.Component;
|
||||
import java.awt.Insets;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.FocusEvent;
|
||||
|
|
|
@ -36,7 +36,6 @@ import java.net.URL;
|
|||
import java.util.Locale;
|
||||
|
||||
import org.compiere.Adempiere;
|
||||
import org.compiere.AdempiereClient;
|
||||
|
||||
/**
|
||||
* Splash Screen.
|
||||
|
|
|
@ -19,8 +19,6 @@ import org.compiere.util.Env;
|
|||
import org.compiere.util.Msg;
|
||||
import org.zkoss.zhtml.Script;
|
||||
import org.zkoss.zk.ui.Executions;
|
||||
import org.zkoss.zk.ui.Session;
|
||||
import org.zkoss.zk.ui.Sessions;
|
||||
import org.zkoss.zk.ui.event.Event;
|
||||
import org.zkoss.zk.ui.event.Events;
|
||||
import org.zkoss.zul.Borderlayout;
|
||||
|
|
|
@ -25,7 +25,6 @@ import javax.servlet.jsp.tagext.TagSupport;
|
|||
|
||||
import org.apache.ecs.xhtml.option;
|
||||
import org.apache.ecs.xhtml.select;
|
||||
import org.compiere.model.I_M_Product;
|
||||
import org.compiere.model.I_M_Product_Category;
|
||||
import org.compiere.util.CCache;
|
||||
import org.compiere.util.CLogger;
|
||||
|
|
Loading…
Reference in New Issue