diff --git a/base/src/org/compiere/acct/Doc.java b/base/src/org/compiere/acct/Doc.java index e7b2cfedb6..6c443d15e9 100644 --- a/base/src/org/compiere/acct/Doc.java +++ b/base/src/org/compiere/acct/Doc.java @@ -60,8 +60,6 @@ import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Trx; -import org.eevolution.model.X_HR_Process; -import org.eevolution.model.X_PP_Cost_Collector; /** * Posting Document Root. diff --git a/base/src/org/compiere/acct/Doc_InOut.java b/base/src/org/compiere/acct/Doc_InOut.java index 7269a4d253..d4b4f67498 100644 --- a/base/src/org/compiere/acct/Doc_InOut.java +++ b/base/src/org/compiere/acct/Doc_InOut.java @@ -19,7 +19,6 @@ package org.compiere.acct; import java.math.BigDecimal; import java.sql.ResultSet; import java.util.ArrayList; -import java.util.Collection; import java.util.logging.Level; import org.compiere.model.MAccount; diff --git a/base/src/org/compiere/model/MCost.java b/base/src/org/compiere/model/MCost.java index 4de263e763..e6ed4cb2e1 100644 --- a/base/src/org/compiere/model/MCost.java +++ b/base/src/org/compiere/model/MCost.java @@ -24,7 +24,6 @@ import java.sql.SQLException; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Collection; -import java.util.List; import java.util.Properties; import java.util.logging.Level; diff --git a/base/src/org/compiere/model/MLocation.java b/base/src/org/compiere/model/MLocation.java index cd3d54e4b1..297e1a046a 100644 --- a/base/src/org/compiere/model/MLocation.java +++ b/base/src/org/compiere/model/MLocation.java @@ -27,7 +27,6 @@ import org.compiere.util.CCache; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; -import org.compiere.util.Language; import org.compiere.util.Util; /** diff --git a/base/src/org/compiere/print/layout/LocationElement.java b/base/src/org/compiere/print/layout/LocationElement.java index 728869a4ba..0f47e72512 100644 --- a/base/src/org/compiere/print/layout/LocationElement.java +++ b/base/src/org/compiere/print/layout/LocationElement.java @@ -22,7 +22,6 @@ import java.util.Properties; import java.util.regex.Pattern; import org.compiere.model.MLocation; -import org.compiere.util.Language; /** * Location/Address Element. diff --git a/base/src/org/compiere/process/M_Production_Run.java b/base/src/org/compiere/process/M_Production_Run.java index 9655bc2fbe..237fbf78c3 100644 --- a/base/src/org/compiere/process/M_Production_Run.java +++ b/base/src/org/compiere/process/M_Production_Run.java @@ -33,7 +33,6 @@ import org.compiere.util.AdempiereUserError; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; -import org.compiere.util.Msg; import org.compiere.util.ValueNamePair; import org.eevolution.model.MPPProductBOM; import org.eevolution.model.MPPProductBOMLine; diff --git a/base/src/org/compiere/wf/MWFNode.java b/base/src/org/compiere/wf/MWFNode.java index 20e77e220a..eedf580fd7 100644 --- a/base/src/org/compiere/wf/MWFNode.java +++ b/base/src/org/compiere/wf/MWFNode.java @@ -18,7 +18,6 @@ package org.compiere.wf; import java.awt.Point; import java.math.BigDecimal; -import java.math.RoundingMode; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; @@ -27,12 +26,7 @@ import java.util.ArrayList; import java.util.Properties; import java.util.logging.Level; -import org.adempiere.exceptions.AdempiereException; -import org.compiere.model.MAcctSchema; import org.compiere.model.MColumn; -import org.compiere.model.MProduct; -import org.compiere.model.MResource; -import org.compiere.model.MUOM; import org.compiere.model.X_AD_WF_Node; import org.compiere.util.CCache; import org.compiere.util.DB; diff --git a/base/src/org/compiere/wf/MWorkflow.java b/base/src/org/compiere/wf/MWorkflow.java index 543b76761c..280ba6d7e8 100644 --- a/base/src/org/compiere/wf/MWorkflow.java +++ b/base/src/org/compiere/wf/MWorkflow.java @@ -16,7 +16,6 @@ *****************************************************************************/ package org.compiere.wf; -import java.math.BigDecimal; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; diff --git a/posterita/posterita/src/main/org/posterita/beans/InventoryCartBean.java b/posterita/posterita/src/main/org/posterita/beans/InventoryCartBean.java index c9afd2d08a..c2aba600c2 100644 --- a/posterita/posterita/src/main/org/posterita/beans/InventoryCartBean.java +++ b/posterita/posterita/src/main/org/posterita/beans/InventoryCartBean.java @@ -24,8 +24,6 @@ package org.posterita.beans; import java.math.BigDecimal; import java.util.ArrayList; -import org.compiere.util.Env; - public class InventoryCartBean extends UDIBean { private ArrayList items; diff --git a/posterita/posterita/src/main/org/posterita/beans/SalesDetailsBean.java b/posterita/posterita/src/main/org/posterita/beans/SalesDetailsBean.java index 6ebaafaa03..7bce57259f 100644 --- a/posterita/posterita/src/main/org/posterita/beans/SalesDetailsBean.java +++ b/posterita/posterita/src/main/org/posterita/beans/SalesDetailsBean.java @@ -1,7 +1,6 @@ package org.posterita.beans; import java.math.BigDecimal; -import java.sql.Date; import java.sql.Timestamp; public class SalesDetailsBean diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/CashManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/CashManager.java index 808959159c..4ddac286a2 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/CashManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/CashManager.java @@ -34,8 +34,6 @@ import java.util.ArrayList; import java.util.Properties; import java.util.logging.Level; -import org.compiere.model.MAttachment; -import org.compiere.model.MAttachmentEntry; import org.compiere.model.MBPartner; import org.compiere.model.MBPartnerLocation; import org.compiere.model.MBankAccount; @@ -62,7 +60,6 @@ import org.posterita.beans.CurrentTillAmountBean; import org.posterita.beans.OpenItemBean; import org.posterita.beans.WebDocumentBean; import org.posterita.beans.WebDocumentHeaderBean; -import org.posterita.businesslogic.performanceanalysis.POSReportManager; import org.posterita.core.JulianDate; import org.posterita.core.utils.FormatBigDecimal; import org.posterita.exceptions.CanNotCloseTillException; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/CustomerCart.java b/posterita/posterita/src/main/org/posterita/businesslogic/CustomerCart.java index bb3a1dc5c9..c0ae6eb4c8 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/CustomerCart.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/CustomerCart.java @@ -31,8 +31,6 @@ import java.util.Set; import org.posterita.beans.CustomerBean; import org.posterita.businesslogic.administration.CustomerManager; -import org.posterita.exceptions.InvalidDateTimeException; -import org.posterita.exceptions.OperationException; public class CustomerCart { diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/MenuManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/MenuManager.java index a00e8141e4..e40b56509b 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/MenuManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/MenuManager.java @@ -22,7 +22,6 @@ package org.posterita.businesslogic; import java.io.PrintWriter; import java.io.StringWriter; -import java.lang.reflect.Array; import java.math.BigDecimal; import java.sql.PreparedStatement; import java.sql.ResultSet; @@ -31,12 +30,9 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.Properties; -import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; -import org.compiere.model.MMenu; -import org.compiere.model.X_U_WebMenu; import org.compiere.util.DB; import org.compiere.util.Env; import org.posterita.Constants; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/OrderReferenceManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/OrderReferenceManager.java index aab150597c..df6d734c10 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/OrderReferenceManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/OrderReferenceManager.java @@ -26,12 +26,10 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.Properties; -import org.compiere.model.I_C_CashLine; import org.compiere.model.MBPartner; import org.compiere.model.MBPartnerLocation; import org.compiere.model.MCharge; import org.compiere.model.MCurrency; -import org.compiere.model.MInvoice; import org.compiere.model.MLocation; import org.compiere.model.MOrder; import org.compiere.model.MOrderLine; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSClientManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSClientManager.java index f167fe0c93..ca3c470b14 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSClientManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSClientManager.java @@ -42,7 +42,6 @@ import org.compiere.model.MDiscountSchema; import org.compiere.model.MLocation; import org.compiere.model.MOrg; import org.compiere.model.MOrgInfo; -import org.compiere.model.MPOS; import org.compiere.model.MPOSTerminal; import org.compiere.model.MPriceList; import org.compiere.model.MPriceListVersion; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSManager.java index 4569a47e5f..0601f5de67 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSManager.java @@ -32,9 +32,7 @@ import java.sql.SQLException; import java.sql.Timestamp; import java.text.DecimalFormat; import java.text.NumberFormat; -import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Date; import java.util.Iterator; import java.util.Properties; @@ -49,7 +47,6 @@ import javax.servlet.http.HttpServletRequest; import org.compiere.model.I_C_CashLine; import org.compiere.model.MBPartner; -import org.compiere.model.MCash; import org.compiere.model.MCashLine; import org.compiere.model.MCharge; import org.compiere.model.MCurrency; @@ -78,7 +75,6 @@ import org.compiere.util.TimeUtil; import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.CashBookDetailBean; -import org.posterita.beans.CashLineBean; import org.posterita.beans.CheckoutBean; import org.posterita.beans.CreditCheckBean; import org.posterita.beans.CurrentTillAmountBean; @@ -108,7 +104,6 @@ import org.posterita.exceptions.MandatoryException; import org.posterita.exceptions.NoOrderLineFoundException; import org.posterita.exceptions.NoOrderLineSelectedException; import org.posterita.exceptions.OperationException; -import org.posterita.exceptions.TerminalNotFoundException; import org.posterita.lib.UdiConstants; import org.posterita.order.UDIOrderType; import org.posterita.order.UDIOrderTypes; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java index 05565e9285..8efac8d8b9 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSProductManager.java @@ -25,7 +25,6 @@ package org.posterita.businesslogic; import java.io.BufferedReader; import java.io.File; -import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.math.BigDecimal; @@ -43,7 +42,6 @@ import java.util.HashMap; import java.util.Iterator; import java.util.Locale; import java.util.Properties; -import java.util.Set; import java.util.StringTokenizer; import javax.servlet.http.HttpServletRequest; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSStockManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSStockManager.java index afc837664d..721e51e655 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSStockManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSStockManager.java @@ -42,9 +42,7 @@ import java.util.Properties; import java.util.StringTokenizer; import org.compiere.model.MOrg; -import org.compiere.model.MOrgInfo; import org.compiere.model.MProduct; -import org.compiere.model.MStorage; import org.compiere.model.MTransaction; import org.compiere.model.MUOM; import org.compiere.model.MWarehouse; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/PartialPOSManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/PartialPOSManager.java index e5d74e02c4..f89c703592 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/PartialPOSManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/PartialPOSManager.java @@ -29,13 +29,9 @@ import java.sql.SQLException; import java.util.ArrayList; import java.util.Properties; -import org.compiere.model.MInOut; -import org.compiere.model.MInvoice; import org.compiere.model.MOrder; import org.compiere.model.MOrderLine; -import org.compiere.model.MPayment; import org.compiere.process.DocAction; -import org.compiere.process.DocumentEngine; import org.compiere.util.DB; import org.compiere.util.Env; import org.posterita.Constants; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/PaymentManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/PaymentManager.java index c46f217809..71a0ddc68d 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/PaymentManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/PaymentManager.java @@ -29,7 +29,6 @@ import java.sql.Timestamp; import java.util.ArrayList; import java.util.Properties; -import org.compiere.db.DB_Oracle; import org.compiere.model.MBPartner; import org.compiere.model.MBPartnerLocation; import org.compiere.model.MCurrency; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/ProductCart.java b/posterita/posterita/src/main/org/posterita/businesslogic/ProductCart.java index fb5ddf7f18..993e99612d 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/ProductCart.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/ProductCart.java @@ -31,9 +31,7 @@ import java.util.Set; import org.compiere.util.Env; import org.posterita.beans.ProductDetailsBean; -import org.posterita.beans.StockMovementBean; import org.posterita.businesslogic.administration.ProductManager; -import org.posterita.businesslogic.stock.MMovementManager; import org.posterita.exceptions.OperationException; public class ProductCart diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/administration/BPartnerManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/administration/BPartnerManager.java index 9274ac1e2c..7bddc1c290 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/administration/BPartnerManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/administration/BPartnerManager.java @@ -25,19 +25,13 @@ package org.posterita.businesslogic.administration; import java.math.BigDecimal; -import java.math.RoundingMode; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; -import java.text.DecimalFormat; -import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Calendar; -import java.util.Date; import java.util.Properties; -import org.compiere.acct.Fact.Balance; import org.compiere.model.MBPBankAccount; import org.compiere.model.MBPartner; import org.compiere.model.MBPartnerLocation; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/administration/BarcodeManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/administration/BarcodeManager.java index 644cb8729f..8ad63d3fcb 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/administration/BarcodeManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/administration/BarcodeManager.java @@ -40,9 +40,6 @@ import java.util.Properties; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import net.sourceforge.barbecue.formatter.BarcodeFormatter; - -import org.apache.ecs.xhtml.sub; import org.compiere.model.MProduct; import org.compiere.model.MSequence; import org.compiere.util.Env; @@ -52,12 +49,9 @@ import org.krysalis.barcode4j.output.bitmap.BitmapCanvasProvider; import org.krysalis.barcode4j.tools.UnitConv; import org.posterita.Constants; -import org.posterita.beans.CheckoutBean; import org.posterita.beans.CustomerBean; import org.posterita.beans.ItemBean; -import org.posterita.beans.PrintBarcodeBean; import org.posterita.businesslogic.CustomerCart; -import org.posterita.businesslogic.OrderManager; import org.posterita.businesslogic.performanceanalysis.ReportManager; import org.posterita.core.RandomStringGenerator; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/administration/CommissionManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/administration/CommissionManager.java index 11a456ae70..dff6c3480f 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/administration/CommissionManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/administration/CommissionManager.java @@ -44,7 +44,6 @@ import org.compiere.util.Env; import org.posterita.beans.CommissionBean; import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.performanceanalysis.CSVReportManager; -import org.posterita.core.TimestampConvertor; import org.posterita.exceptions.InvalidDateTimeException; import org.posterita.exceptions.OperationException; import org.posterita.factory.SystemObjectsFactory; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/administration/CustomerManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/administration/CustomerManager.java index db5556b4ba..0040cc370e 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/administration/CustomerManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/administration/CustomerManager.java @@ -34,7 +34,6 @@ import java.sql.SQLException; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Calendar; import java.util.Collections; import java.util.Comparator; import java.util.Date; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/administration/ImportCustomerManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/administration/ImportCustomerManager.java index 883c6554a4..eecc472261 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/administration/ImportCustomerManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/administration/ImportCustomerManager.java @@ -36,8 +36,6 @@ import java.util.StringTokenizer; import org.apache.struts.upload.FormFile; import org.compiere.model.MBPartner; -import org.compiere.model.MBank; -import org.compiere.model.MBankAccount; import org.compiere.model.MPaymentTerm; import org.compiere.model.MPriceList; import org.compiere.util.Env; @@ -51,12 +49,9 @@ import org.posterita.core.RandomStringGenerator; import org.posterita.core.TrxPrefix; import org.posterita.exceptions.BPartnerAlreadyExistException; import org.posterita.exceptions.BPartnerNotFoundException; -import org.posterita.exceptions.BarcodeAlreadyExistsException; import org.posterita.exceptions.CustomerNotImportedException; import org.posterita.exceptions.InvalidDateTimeException; import org.posterita.exceptions.OperationException; -import org.posterita.exceptions.ProductAlreadyExistException; -import org.posterita.exceptions.ProductNotImportedException; public class ImportCustomerManager diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/creditsales/CreditOrderManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/creditsales/CreditOrderManager.java index c7bc15b477..d34b777966 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/creditsales/CreditOrderManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/creditsales/CreditOrderManager.java @@ -55,20 +55,17 @@ import org.posterita.beans.OrderLineBean; import org.posterita.beans.PaymentAllocationBean; import org.posterita.beans.PaymentTypeBean; import org.posterita.beans.ShoppingCartBean; -import org.posterita.businesslogic.CashManager; import org.posterita.businesslogic.InvoiceManager; import org.posterita.businesslogic.MinOutManager; import org.posterita.businesslogic.OrderManager; import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.PaymentManager; -import org.posterita.businesslogic.administration.BPartnerManager; import org.posterita.exceptions.BPartnerNotFoundException; import org.posterita.exceptions.BPartnerOverCreditLimitException; import org.posterita.exceptions.DiscountLimitException; import org.posterita.exceptions.MandatoryException; import org.posterita.exceptions.NoPaymentAmountException; import org.posterita.exceptions.OperationException; -import org.posterita.lib.UdiConstants; import org.posterita.util.PoManager; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/POSSalesReportManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/POSSalesReportManager.java index 6fcf741c38..645f30f714 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/POSSalesReportManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/POSSalesReportManager.java @@ -28,9 +28,7 @@ import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; -import java.text.SimpleDateFormat; import java.util.ArrayList; -import java.util.Date; import java.util.HashMap; import java.util.Properties; import java.util.TreeMap; @@ -55,7 +53,6 @@ import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.administration.PriceListManager; import org.posterita.businesslogic.administration.WarehouseManager; -import org.posterita.core.TimestampConvertor; import org.posterita.exceptions.OperationException; import org.posterita.lib.UdiConstants; import org.posterita.order.UDIOrderTypes; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/ReportDateManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/ReportDateManager.java index 576876e1c7..9a80a6eced 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/ReportDateManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/performanceanalysis/ReportDateManager.java @@ -23,9 +23,7 @@ package org.posterita.businesslogic.performanceanalysis; import java.sql.Timestamp; import java.text.ParseException; -import java.text.SimpleDateFormat; import java.util.Calendar; -import java.util.Date; import java.util.StringTokenizer; import org.jfree.date.SerialDate; diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/stock/MMovementManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/stock/MMovementManager.java index 0bc2286ffa..8d4effa4d7 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/stock/MMovementManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/stock/MMovementManager.java @@ -48,7 +48,6 @@ import org.compiere.model.MLocator; import org.compiere.model.MMovement; import org.compiere.model.MMovementConfirm; import org.compiere.model.MMovementLine; -import org.compiere.model.MOrder; import org.compiere.model.MOrg; import org.compiere.model.MOrgInfo; import org.compiere.model.MPriceList; @@ -64,18 +63,13 @@ import org.posterita.Constants; import org.posterita.TangoColors; import org.posterita.beans.ItemBean; import org.posterita.beans.MMovementCartBean; -import org.posterita.beans.PaymentDetailsBean; -import org.posterita.beans.ShoppingCartBean; import org.posterita.beans.StockMovementBean; -import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.POSTerminalManager; -import org.posterita.businesslogic.PaymentManager; import org.posterita.businesslogic.administration.PriceListManager; import org.posterita.businesslogic.administration.WarehouseManager; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.OperationException; import org.posterita.exceptions.ProductNotFoundException; -import org.posterita.exceptions.ProductNotOnPriceListException; import org.posterita.lib.UdiConstants; import org.posterita.util.PoManager; /** diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/stock/StockManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/stock/StockManager.java index 5b205d8a65..d1e7582011 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/stock/StockManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/stock/StockManager.java @@ -33,20 +33,14 @@ import java.util.Iterator; import java.util.Properties; import java.util.TreeSet; -import javax.servlet.http.HttpServletRequest; - -import org.apache.poi.hssf.dev.BiffViewer; import org.compiere.model.MAttribute; import org.compiere.model.MBPartner; import org.compiere.model.MLocator; -import org.compiere.model.MPOS; import org.compiere.model.MPriceList; -import org.compiere.model.MPriceListVersion; import org.compiere.model.MProduct; import org.compiere.model.MProductPrice; import org.compiere.model.MStorage; import org.compiere.model.MTax; -import org.compiere.model.MTaxCategory; import org.compiere.model.MUOM; import org.compiere.model.MWarehouse; import org.compiere.util.DB; @@ -54,7 +48,6 @@ import org.compiere.util.Env; import org.compiere.util.KeyNamePair; import org.posterita.Constants; import org.posterita.beans.AttributeValuesPair; -import org.posterita.beans.InventoryBean; import org.posterita.beans.InventoryCartBean; import org.posterita.beans.InventoryLineBean; import org.posterita.beans.ItemBean; @@ -66,13 +59,10 @@ import org.posterita.beans.StockMovementBean; import org.posterita.businesslogic.AttributeValuesManager; import org.posterita.businesslogic.POSProductManager; import org.posterita.businesslogic.POSTerminalManager; -import org.posterita.businesslogic.StoreManager; import org.posterita.businesslogic.administration.PriceListManager; import org.posterita.businesslogic.administration.ProductManager; -import org.posterita.businesslogic.administration.TaxManager; import org.posterita.businesslogic.administration.WarehouseManager; import org.posterita.core.utils.FormatBigDecimal; -import org.posterita.exceptions.DiscountLimitException; import org.posterita.exceptions.InputQuantityLessThanZeroException; import org.posterita.exceptions.OperationException; import org.posterita.exceptions.ProductNotFoundException; diff --git a/posterita/posterita/src/main/org/posterita/core/FileManager.java b/posterita/posterita/src/main/org/posterita/core/FileManager.java index cb16b9ef03..1358dec708 100644 --- a/posterita/posterita/src/main/org/posterita/core/FileManager.java +++ b/posterita/posterita/src/main/org/posterita/core/FileManager.java @@ -31,17 +31,12 @@ import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.util.ArrayList; -import java.util.Properties; import org.compiere.util.KeyNamePair; import org.posterita.beans.AttributeValuesPair; -import org.posterita.beans.InventoryBean; import org.posterita.beans.ProductBean; -import org.posterita.businesslogic.stock.InventoryManager; -import org.posterita.exceptions.BarcodeAlreadyExistsException; import org.posterita.exceptions.OperationException; -import org.posterita.exceptions.ProductAlreadyExistException; public class FileManager { diff --git a/posterita/posterita/src/main/org/posterita/core/MenuItem.java b/posterita/posterita/src/main/org/posterita/core/MenuItem.java index b230f17f30..41097eb98d 100644 --- a/posterita/posterita/src/main/org/posterita/core/MenuItem.java +++ b/posterita/posterita/src/main/org/posterita/core/MenuItem.java @@ -25,7 +25,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.Properties; -import org.compiere.model.X_U_WebMenu; import org.posterita.factory.AbstractFactory; import org.compiere.model.MWebMenu; diff --git a/posterita/posterita/src/main/org/posterita/core/TabularReport2.java b/posterita/posterita/src/main/org/posterita/core/TabularReport2.java index d10b77bd01..143a03aeea 100644 --- a/posterita/posterita/src/main/org/posterita/core/TabularReport2.java +++ b/posterita/posterita/src/main/org/posterita/core/TabularReport2.java @@ -24,7 +24,6 @@ package org.posterita.core; import java.io.FileNotFoundException; import java.io.FileOutputStream; -import java.math.BigDecimal; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Iterator; diff --git a/posterita/posterita/src/main/org/posterita/core/action/ClientAction.java b/posterita/posterita/src/main/org/posterita/core/action/ClientAction.java index 8115a3336d..6e7745c3d7 100644 --- a/posterita/posterita/src/main/org/posterita/core/action/ClientAction.java +++ b/posterita/posterita/src/main/org/posterita/core/action/ClientAction.java @@ -27,7 +27,6 @@ package org.posterita.core.action; -import java.io.File; import java.util.ArrayList; import java.util.Properties; @@ -45,16 +44,12 @@ import org.posterita.beans.UserBean; import org.posterita.businesslogic.CurrencyManager; import org.posterita.businesslogic.POSClientManager; import org.posterita.core.KeyNamePairUtil; -import org.posterita.core.TmkJSPEnv; import org.posterita.core.bean.ClientBean; import org.posterita.exceptions.ClientAlreadyExistException; import org.posterita.exceptions.OperationException; -import org.posterita.form.UserRegistrationForm; import org.posterita.struts.core.BaseDispatchAction; import org.posterita.struts.core.DefaultForm; -import com.sun.corba.se.impl.orbutil.closure.Constant; - public class ClientAction extends BaseDispatchAction { diff --git a/posterita/posterita/src/main/org/posterita/form/POSHelpForm.java b/posterita/posterita/src/main/org/posterita/form/POSHelpForm.java index f3334d19ea..a3468d3526 100644 --- a/posterita/posterita/src/main/org/posterita/form/POSHelpForm.java +++ b/posterita/posterita/src/main/org/posterita/form/POSHelpForm.java @@ -28,8 +28,6 @@ import org.apache.struts.action.ActionMapping; import org.posterita.beans.POSHelpBean; import org.posterita.pos.help.POSHelpAction; import org.posterita.struts.core.DefaultForm; -import org.posterita.struts.pos.POSGoodsAction; -import org.posterita.struts.pos.POSProductAction; public class POSHelpForm extends DefaultForm { diff --git a/posterita/posterita/src/main/org/posterita/form/POSProductForm.java b/posterita/posterita/src/main/org/posterita/form/POSProductForm.java index ce9d931039..6f9b08ad18 100644 --- a/posterita/posterita/src/main/org/posterita/form/POSProductForm.java +++ b/posterita/posterita/src/main/org/posterita/form/POSProductForm.java @@ -5,9 +5,7 @@ import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import org.posterita.beans.ProductBean; -import org.posterita.struts.admin.OrganisationAction; import org.posterita.struts.core.DefaultForm; -import org.posterita.struts.pos.POSGoodsAction; import org.posterita.struts.pos.POSProductAction; public class POSProductForm extends DefaultForm diff --git a/posterita/posterita/src/main/org/posterita/form/RoleForm.java b/posterita/posterita/src/main/org/posterita/form/RoleForm.java index bec770dac5..bb01b0390c 100644 --- a/posterita/posterita/src/main/org/posterita/form/RoleForm.java +++ b/posterita/posterita/src/main/org/posterita/form/RoleForm.java @@ -26,9 +26,7 @@ import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionMapping; import org.posterita.beans.RoleBean; -import org.posterita.struts.admin.OrganisationAction; import org.posterita.struts.core.DefaultForm; -import org.posterita.struts.pos.POSReportAction; import org.posterita.struts.pos.POSRoleAction; public class RoleForm extends DefaultForm diff --git a/posterita/posterita/src/main/org/posterita/form/UserForm.java b/posterita/posterita/src/main/org/posterita/form/UserForm.java index 2ef8dcbd50..252bd11d89 100644 --- a/posterita/posterita/src/main/org/posterita/form/UserForm.java +++ b/posterita/posterita/src/main/org/posterita/form/UserForm.java @@ -26,7 +26,6 @@ import org.apache.struts.action.ActionMapping; import org.posterita.Constants; import org.posterita.beans.UserBean; import org.posterita.struts.core.DefaultForm; -import org.posterita.struts.login.LoginAction; public class UserForm extends DefaultForm diff --git a/posterita/posterita/src/main/org/posterita/keyname/OrgKeyNamePair.java b/posterita/posterita/src/main/org/posterita/keyname/OrgKeyNamePair.java index aaf7e4f411..b8c4e45965 100644 --- a/posterita/posterita/src/main/org/posterita/keyname/OrgKeyNamePair.java +++ b/posterita/posterita/src/main/org/posterita/keyname/OrgKeyNamePair.java @@ -28,7 +28,6 @@ import java.util.Properties; import org.compiere.model.X_AD_Org; import org.compiere.util.Env; -import org.posterita.businesslogic.OrganisationManager; import org.posterita.core.KeyNamePairUtil; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/pos/help/POSHelpManager.java b/posterita/posterita/src/main/org/posterita/pos/help/POSHelpManager.java index 50a4a604b8..50227edbad 100644 --- a/posterita/posterita/src/main/org/posterita/pos/help/POSHelpManager.java +++ b/posterita/posterita/src/main/org/posterita/pos/help/POSHelpManager.java @@ -24,15 +24,8 @@ package org.posterita.pos.help; import java.util.Properties; import java.util.logging.Level; -import javax.mail.Message; -import javax.mail.Session; -import javax.mail.Transport; -import javax.mail.internet.InternetAddress; -import javax.mail.internet.MimeMessage; - import org.compiere.model.MClient; import org.compiere.util.EMail; -import org.compiere.util.Env; public class POSHelpManager { diff --git a/posterita/posterita/src/main/org/posterita/struts/attributes/AttributesAction.java b/posterita/posterita/src/main/org/posterita/struts/attributes/AttributesAction.java index 83304780e7..57faaeb1f4 100644 --- a/posterita/posterita/src/main/org/posterita/struts/attributes/AttributesAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/attributes/AttributesAction.java @@ -32,12 +32,10 @@ import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.compiere.util.KeyNamePair; -import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.AttributeValueDetailBean; import org.posterita.businesslogic.AttributeValuesManager; import org.posterita.core.TmkJSPEnv; -import org.posterita.core.TrxPrefix; import org.posterita.struts.core.BaseDispatchAction; import org.posterita.struts.core.DefaultForm; diff --git a/posterita/posterita/src/main/org/posterita/struts/core/DefaultForm.java b/posterita/posterita/src/main/org/posterita/struts/core/DefaultForm.java index 6d42b19e27..8cac908d84 100644 --- a/posterita/posterita/src/main/org/posterita/struts/core/DefaultForm.java +++ b/posterita/posterita/src/main/org/posterita/struts/core/DefaultForm.java @@ -19,7 +19,6 @@ */ package org.posterita.struts.core; -import java.math.BigDecimal; import java.util.ArrayList; import java.util.Calendar; diff --git a/posterita/posterita/src/main/org/posterita/struts/login/LoginAction.java b/posterita/posterita/src/main/org/posterita/struts/login/LoginAction.java index 05d666c976..21dd666c00 100644 --- a/posterita/posterita/src/main/org/posterita/struts/login/LoginAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/login/LoginAction.java @@ -44,7 +44,6 @@ import org.posterita.beans.TerminalBean; import org.posterita.beans.UserBean; import org.posterita.businesslogic.LoginManager; import org.posterita.businesslogic.MenuManager; -import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.administration.RoleManager; import org.posterita.businesslogic.core.ApplicationManager; diff --git a/posterita/posterita/src/main/org/posterita/struts/menu/MenuAction.java b/posterita/posterita/src/main/org/posterita/struts/menu/MenuAction.java index 787906dc11..7280fba206 100644 --- a/posterita/posterita/src/main/org/posterita/struts/menu/MenuAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/menu/MenuAction.java @@ -19,7 +19,6 @@ */ package org.posterita.struts.menu; -import java.awt.Menu; import java.io.PrintWriter; import java.io.StringWriter; import java.util.ArrayList; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/CashBookAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/CashBookAction.java index 85a32cccba..8f3c8eeb30 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/CashBookAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/CashBookAction.java @@ -27,9 +27,7 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectOutputStream; import java.io.OutputStream; -import java.math.BigDecimal; import java.sql.SQLException; -import java.sql.Timestamp; import java.util.ArrayList; import java.util.Properties; import java.util.logging.Level; @@ -56,7 +54,6 @@ import org.posterita.beans.CloseTillBean; import org.posterita.beans.CurrentTillAmountBean; import org.posterita.beans.UDIBean; import org.posterita.businesslogic.CashManager; -import org.posterita.businesslogic.ClientManager; import org.posterita.businesslogic.OrganisationManager; import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.POSTerminalManager; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/CreditOrderAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/CreditOrderAction.java index 76cc45b166..f10d7857e2 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/CreditOrderAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/CreditOrderAction.java @@ -38,7 +38,6 @@ import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.compiere.model.MCurrency; import org.compiere.model.MInOut; -import org.compiere.model.MInvoice; import org.compiere.model.MOrder; import org.compiere.model.MPayment; import org.compiere.util.Env; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/CustomPOSReportAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/CustomPOSReportAction.java index e62690903e..724730a2d0 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/CustomPOSReportAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/CustomPOSReportAction.java @@ -23,9 +23,6 @@ package org.posterita.struts.pos; import java.sql.Timestamp; -import java.text.ParseException; -import java.text.SimpleDateFormat; -import java.util.Date; import java.util.Properties; import javax.servlet.http.HttpServletRequest; @@ -52,7 +49,6 @@ import org.posterita.core.RandomStringGenerator; import org.posterita.core.SessionStorage; import org.posterita.core.TabularReport; import org.posterita.core.TimeSeriesChart; -import org.posterita.core.TimestampConvertor; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.ApplicationException; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/FastMovingItemReportAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/FastMovingItemReportAction.java index dd7a13a665..2032eb18f8 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/FastMovingItemReportAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/FastMovingItemReportAction.java @@ -23,10 +23,8 @@ package org.posterita.struts.pos; import java.sql.Timestamp; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; -import java.util.Date; import java.util.Properties; import javax.servlet.http.HttpServletRequest; @@ -40,7 +38,6 @@ import org.posterita.Constants; import org.posterita.beans.ReportBean; import org.posterita.businesslogic.performanceanalysis.POSReportManager; import org.posterita.businesslogic.performanceanalysis.ReportDateManager; -import org.posterita.core.TimestampConvertor; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.ApplicationException; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/ImportCustomerAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/ImportCustomerAction.java index 3d3dae6117..8b6579e203 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/ImportCustomerAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/ImportCustomerAction.java @@ -30,18 +30,14 @@ import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; -import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.CustomerBean; import org.posterita.businesslogic.administration.ImportCustomerManager; import org.posterita.businesslogic.performanceanalysis.ReportManager; import org.posterita.core.TmkJSPEnv; -import org.posterita.core.TrxPrefix; import org.posterita.exceptions.ApplicationException; -import org.posterita.exceptions.BarcodeAlreadyExistsException; import org.posterita.exceptions.OperationException; -import org.posterita.exceptions.ProductAlreadyExistException; import org.posterita.struts.core.BaseDispatchAction; import org.posterita.struts.core.DefaultForm; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/ImportPOSProductAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/ImportPOSProductAction.java index a9cc3933ef..17067db777 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/ImportPOSProductAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/ImportPOSProductAction.java @@ -22,7 +22,6 @@ package org.posterita.struts.pos; -import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.Properties; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/InventoryCartAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/InventoryCartAction.java index 14b9de5b46..ef6d8a5301 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/InventoryCartAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/InventoryCartAction.java @@ -46,7 +46,6 @@ import org.apache.struts.action.ActionMessages; import org.apache.struts.upload.FormFile; import org.apache.struts.util.MessageResources; import org.compiere.model.MInventory; -import org.compiere.model.MInventoryLine; import org.compiere.util.CLogger; import org.compiere.util.DB; import org.compiere.util.Env; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/POSAttributesAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/POSAttributesAction.java index a2e96fcf59..2c4bc7325b 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/POSAttributesAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/POSAttributesAction.java @@ -28,20 +28,14 @@ import java.util.Properties; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.compiere.util.KeyNamePair; -import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.AttributeValueDetailBean; -import org.posterita.beans.ProductKeywordsBean; import org.posterita.businesslogic.AttributeValuesManager; -import org.posterita.businesslogic.administration.ProductManager; import org.posterita.core.TmkJSPEnv; -import org.posterita.core.TrxPrefix; -import org.posterita.form.EditAttributeForm; import org.posterita.struts.core.DefaultForm; public class POSAttributesAction extends POSDispatchAction diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/POSGoodsAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/POSGoodsAction.java index faf0e34f4c..3da0d27fd7 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/POSGoodsAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/POSGoodsAction.java @@ -40,27 +40,22 @@ import org.compiere.model.MBPartner; import org.compiere.model.MInOut; import org.compiere.model.MOrder; import org.compiere.model.MPayment; -import org.compiere.model.MProduct; import org.compiere.process.DocAction; import org.compiere.process.DocumentEngine; -import org.compiere.util.KeyNamePair; import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.ItemBean; import org.posterita.beans.OrderBean; import org.posterita.beans.OrderLineBean; import org.posterita.beans.POSSupplierBean; -import org.posterita.beans.ProductBean; import org.posterita.beans.ShoppingCartBean; import org.posterita.beans.WebDocumentBean; import org.posterita.businesslogic.OrderManager; import org.posterita.businesslogic.OrderReferenceManager; import org.posterita.businesslogic.POSGoodsManager; import org.posterita.businesslogic.POSManager; -import org.posterita.businesslogic.POSProductManager; import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.administration.BPartnerManager; -import org.posterita.businesslogic.administration.RoleManager; import org.posterita.businesslogic.stock.StockManager; import org.posterita.core.SessionStorage; import org.posterita.core.TmkJSPEnv; @@ -79,7 +74,6 @@ import org.posterita.exceptions.ProductNotOnPriceListException; import org.posterita.exceptions.QuantityNotAvailableException; import org.posterita.exceptions.UOMValuePrecisionNotValidException; import org.posterita.form.OrderLineForm; -import org.posterita.form.POSProductForm; import org.posterita.lib.UdiConstants; import org.posterita.order.UDIOrderTypes; import org.posterita.struts.core.DefaultForm; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/POSOrderAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/POSOrderAction.java index fa2672247d..0e96f2d774 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/POSOrderAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/POSOrderAction.java @@ -48,7 +48,6 @@ import org.compiere.model.MBPartner; import org.compiere.model.MCurrency; import org.compiere.model.MOrder; import org.compiere.model.MPayment; -import org.compiere.model.MPriceList; import org.compiere.model.MRole; import org.compiere.print.ReportEngine; import org.compiere.util.CLogger; @@ -70,7 +69,6 @@ import org.posterita.beans.WebDocumentBean; import org.posterita.businesslogic.LoginManager; import org.posterita.businesslogic.OrderManager; import org.posterita.businesslogic.OrderReferenceManager; -import org.posterita.businesslogic.POSGoodsManager; import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.PrintManager; @@ -79,7 +77,6 @@ import org.posterita.businesslogic.administration.BPartnerManager; import org.posterita.businesslogic.administration.PriceListManager; import org.posterita.businesslogic.administration.RoleManager; import org.posterita.businesslogic.administration.UserManager; -import org.posterita.businesslogic.creditsales.CreditOrderManager; import org.posterita.businesslogic.performanceanalysis.ReportDateManager; import org.posterita.businesslogic.stock.StockManager; import org.posterita.core.Configuration; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/POSRoleAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/POSRoleAction.java index 4d8a4de4a8..6bfccda4bf 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/POSRoleAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/POSRoleAction.java @@ -31,10 +31,7 @@ import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; -import org.compiere.model.MOrg; import org.compiere.model.MRole; -import org.compiere.model.MRoleOrgAccess; -import org.compiere.util.Env; import org.compiere.util.Trx; import org.posterita.Constants; import org.posterita.beans.RoleBean; @@ -50,7 +47,6 @@ import org.posterita.exceptions.OperationException; import org.posterita.exceptions.RoleAlreadyExistsException; import org.posterita.exceptions.SystemException; import org.posterita.form.RoleForm; -import org.posterita.lib.UdiConstants; import org.posterita.struts.core.DefaultForm; public class POSRoleAction extends POSDispatchAction diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/POSSalesReportAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/POSSalesReportAction.java index 078edc6ef6..cf354502a9 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/POSSalesReportAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/POSSalesReportAction.java @@ -24,7 +24,6 @@ package org.posterita.struts.pos; import java.awt.Color; import java.sql.Timestamp; -import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; @@ -49,7 +48,6 @@ import org.posterita.core.PieChart; import org.posterita.core.RandomStringGenerator; import org.posterita.core.SessionStorage; import org.posterita.core.TimeSeriesChart; -import org.posterita.core.TimestampConvertor; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.ApplicationException; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/PartialPOSOrderAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/PartialPOSOrderAction.java index 57bf7e06ef..8b6d2e618f 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/PartialPOSOrderAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/PartialPOSOrderAction.java @@ -48,7 +48,6 @@ import org.posterita.businesslogic.POSTerminalManager; import org.posterita.businesslogic.PartialPOSManager; import org.posterita.businesslogic.administration.BPartnerManager; import org.posterita.businesslogic.administration.RoleManager; -import org.posterita.businesslogic.administration.UserManager; import org.posterita.businesslogic.stock.StockManager; import org.posterita.core.SessionStorage; import org.posterita.core.TmkJSPEnv; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/SearchProductAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/SearchProductAction.java index e450481f65..54a37a6e72 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/SearchProductAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/SearchProductAction.java @@ -36,7 +36,6 @@ import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.compiere.util.CLogger; -import org.posterita.TangoColors; import org.posterita.beans.ProductStatusBean; import org.posterita.businesslogic.administration.ProductManager; import org.posterita.businesslogic.POSTerminalManager; diff --git a/posterita/posterita/src/main/org/posterita/struts/pos/StockMovementReportAction.java b/posterita/posterita/src/main/org/posterita/struts/pos/StockMovementReportAction.java index 548344ddc7..99c5c85b90 100644 --- a/posterita/posterita/src/main/org/posterita/struts/pos/StockMovementReportAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/pos/StockMovementReportAction.java @@ -23,10 +23,8 @@ package org.posterita.struts.pos; import java.sql.Timestamp; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; -import java.util.Date; import java.util.Properties; import javax.servlet.http.HttpServletRequest; @@ -45,7 +43,6 @@ import org.posterita.businesslogic.performanceanalysis.POSReportManager; import org.posterita.businesslogic.performanceanalysis.ReportDateManager; import org.posterita.businesslogic.performanceanalysis.ReportManager; import org.posterita.core.TabularReport; -import org.posterita.core.TimestampConvertor; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.ApplicationException; import org.posterita.exceptions.OperationException; diff --git a/posterita/posterita/src/main/org/posterita/struts/user/UserRegistrationAction.java b/posterita/posterita/src/main/org/posterita/struts/user/UserRegistrationAction.java index 93bf4f0ee7..19ed189d56 100644 --- a/posterita/posterita/src/main/org/posterita/struts/user/UserRegistrationAction.java +++ b/posterita/posterita/src/main/org/posterita/struts/user/UserRegistrationAction.java @@ -24,28 +24,14 @@ package org.posterita.struts.user; import java.io.FileNotFoundException; import java.io.IOException; -import java.util.Date; import java.util.Properties; -import javax.mail.Authenticator; -import javax.mail.BodyPart; -import javax.mail.Message; import javax.mail.MessagingException; -import javax.mail.Multipart; -import javax.mail.PasswordAuthentication; -import javax.mail.Session; -import javax.mail.Transport; import javax.mail.internet.AddressException; -import javax.mail.internet.InternetAddress; -import javax.mail.internet.MimeBodyPart; -import javax.mail.internet.MimeMessage; -import javax.mail.internet.MimeMultipart; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; -import org.compiere.model.MCountry; -import org.compiere.util.EMail; import org.posterita.Constants; import org.posterita.beans.UserBean; import org.posterita.core.TmkJSPEnv; diff --git a/posterita/posterita/src/main/org/posterita/util/HtmlOrderPrintFormatter.java b/posterita/posterita/src/main/org/posterita/util/HtmlOrderPrintFormatter.java index 9e78ae4710..3405a4a41f 100644 --- a/posterita/posterita/src/main/org/posterita/util/HtmlOrderPrintFormatter.java +++ b/posterita/posterita/src/main/org/posterita/util/HtmlOrderPrintFormatter.java @@ -24,14 +24,12 @@ package org.posterita.util; import java.math.BigDecimal; import java.math.RoundingMode; -import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.Properties; import org.compiere.model.MBPartner; import org.compiere.model.MCashLine; -import org.compiere.model.MCurrency; import org.compiere.model.MInvoice; import org.compiere.model.MLocation; import org.compiere.model.MOrder; @@ -44,7 +42,6 @@ import org.posterita.beans.BPartnerBean; import org.posterita.beans.ItemBean; import org.posterita.beans.OrderLineBean; import org.posterita.beans.ShoppingCartBean; -import org.posterita.beans.WebOrderLineBean; import org.posterita.businesslogic.OrganisationManager; import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.administration.BPartnerManager; diff --git a/posterita/posterita/src/main/org/posterita/util/OSBroOrderPrintFormatter1.java b/posterita/posterita/src/main/org/posterita/util/OSBroOrderPrintFormatter1.java index fa1a3bdec7..c6d29125f4 100644 --- a/posterita/posterita/src/main/org/posterita/util/OSBroOrderPrintFormatter1.java +++ b/posterita/posterita/src/main/org/posterita/util/OSBroOrderPrintFormatter1.java @@ -32,14 +32,10 @@ import java.util.StringTokenizer; import java.util.logging.Level; import org.compiere.model.MBPartner; -import org.compiere.model.MCashLine; import org.compiere.model.MInvoice; -import org.compiere.model.MLocation; import org.compiere.model.MOrder; import org.compiere.model.MOrg; import org.compiere.model.MPOS; -import org.compiere.model.MPayment; -import org.compiere.model.MUser; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.posterita.Constants; @@ -51,7 +47,6 @@ import org.posterita.businesslogic.POSManager; import org.posterita.businesslogic.administration.BPartnerManager; import org.posterita.exceptions.FormattingException; import org.posterita.exceptions.OperationException; -import org.posterita.lib.UdiConstants; import org.posterita.order.UDIOrderTypes; diff --git a/posterita/posterita/src/main/org/posterita/webstore/action/DocumentHistoryAction.java b/posterita/posterita/src/main/org/posterita/webstore/action/DocumentHistoryAction.java index 5fee77ae01..105752a343 100644 --- a/posterita/posterita/src/main/org/posterita/webstore/action/DocumentHistoryAction.java +++ b/posterita/posterita/src/main/org/posterita/webstore/action/DocumentHistoryAction.java @@ -37,7 +37,6 @@ import org.compiere.util.Env; import org.posterita.Constants; import org.posterita.beans.DocumentHistortFilterBean; import org.posterita.beans.DocumentHistoryBean; -import org.posterita.beans.FilterBean; import org.posterita.businesslogic.performanceanalysis.POSReportManager; import org.posterita.core.TmkJSPEnv; import org.posterita.exceptions.ApplicationException; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java index f3616e14cf..6a46c35337 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/dashboard/DashboardRunnable.java @@ -23,7 +23,6 @@ import org.adempiere.webui.util.ServerPushTemplate; import org.compiere.model.MSysConfig; import org.compiere.util.CLogger; import org.zkoss.zk.ui.Desktop; -import org.zkoss.zk.ui.Executions; /** * diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WebEditorFactory.java b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WebEditorFactory.java index d9eb55e38e..30ea499186 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WebEditorFactory.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/editor/WebEditorFactory.java @@ -19,8 +19,6 @@ package org.adempiere.webui.editor; import org.compiere.model.GridField; import org.compiere.model.GridTab; -import org.compiere.model.MLocationLookup; -import org.compiere.model.MLocatorLookup; import org.compiere.util.CLogger; import org.compiere.util.DisplayType; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/HeaderPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/HeaderPanel.java index c4822d29cd..2b5cf996ca 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/HeaderPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/HeaderPanel.java @@ -26,7 +26,6 @@ import org.zkoss.zk.ui.event.EventListener; import org.zkoss.zk.ui.event.Events; import org.zkoss.zkex.zul.Borderlayout; import org.zkoss.zkex.zul.Center; -import org.zkoss.zkex.zul.East; import org.zkoss.zkex.zul.West; import org.zkoss.zul.Image; import org.zkoss.zul.Vbox; diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java index 2761d5f6f0..cba1d515d5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java @@ -52,7 +52,6 @@ import org.adempiere.webui.component.ListItem; import org.adempiere.webui.component.ListModelTable; import org.adempiere.webui.component.Listbox; import org.adempiere.webui.component.ListboxFactory; -import org.adempiere.webui.component.Panel; import org.adempiere.webui.component.Row; import org.adempiere.webui.component.Rows; import org.adempiere.webui.component.Tab; @@ -82,8 +81,6 @@ import org.zkoss.zkex.zul.Borderlayout; import org.zkoss.zkex.zul.Center; import org.zkoss.zkex.zul.North; import org.zkoss.zkex.zul.South; -import org.zkoss.zul.Div; -import org.zkoss.zul.Separator; /** * Search Product and return selection diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java index 5a23139094..5fe435c46c 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/MenuPanel.java @@ -19,7 +19,6 @@ package org.adempiere.webui.panel; import java.util.ArrayList; import java.util.Enumeration; -import java.util.List; import java.util.Properties; import org.adempiere.webui.component.Checkbox;