From f3eb459415a7c9d69b02a545f1a797e324a40f6d Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Mon, 22 Dec 2008 13:45:21 +0000 Subject: [PATCH] organize imports --- base/src/org/compiere/model/MTab.java | 13 ++++++---- base/src/org/compiere/model/MTableAccess.java | 10 ++++---- base/src/org/compiere/model/MTask.java | 11 +++++---- base/src/org/compiere/model/MTax.java | 17 +++++++++---- base/src/org/compiere/model/MTaxCategory.java | 4 ++-- .../org/compiere/model/MTaxDeclaration.java | 7 +++--- .../compiere/model/MTaxDeclarationAcct.java | 4 ++-- .../compiere/model/MTaxDeclarationLine.java | 6 ++--- base/src/org/compiere/model/MTaxPostal.java | 4 ++-- base/src/org/compiere/model/MTemplate.java | 11 ++++++--- base/src/org/compiere/model/MTest.java | 12 ++++++---- base/src/org/compiere/model/MTimeExpense.java | 22 +++++++++++------ .../org/compiere/model/MTimeExpenseLine.java | 11 +++++---- base/src/org/compiere/model/MTransaction.java | 10 ++++---- base/src/org/compiere/model/MTree.java | 24 +++++++++++++------ base/src/org/compiere/model/MTreeNode.java | 17 +++++++------ base/src/org/compiere/model/MTree_Base.java | 7 +++--- base/src/org/compiere/model/MTree_Node.java | 10 ++++---- base/src/org/compiere/model/MTree_NodeBP.java | 10 ++++---- .../src/org/compiere/model/MTree_NodeCMC.java | 12 ++++++---- .../src/org/compiere/model/MTree_NodeCMS.java | 12 ++++++---- base/src/org/compiere/model/MTree_NodeMM.java | 10 ++++---- base/src/org/compiere/model/MTree_NodePR.java | 10 ++++---- 23 files changed, 160 insertions(+), 94 deletions(-) diff --git a/base/src/org/compiere/model/MTab.java b/base/src/org/compiere/model/MTab.java index 1cbd3f51a0..7ff3dc80b3 100644 --- a/base/src/org/compiere/model/MTab.java +++ b/base/src/org/compiere/model/MTab.java @@ -16,12 +16,15 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; - -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** * Tab Model diff --git a/base/src/org/compiere/model/MTableAccess.java b/base/src/org/compiere/model/MTableAccess.java index 885477349d..198fd13854 100644 --- a/base/src/org/compiere/model/MTableAccess.java +++ b/base/src/org/compiere/model/MTableAccess.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.DB; +import org.compiere.util.Msg; /** * diff --git a/base/src/org/compiere/model/MTask.java b/base/src/org/compiere/model/MTask.java index 751c13d078..207e4632af 100644 --- a/base/src/org/compiere/model/MTask.java +++ b/base/src/org/compiere/model/MTask.java @@ -16,10 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.Env; +import org.compiere.util.Msg; +import org.compiere.util.Task; /** * Operating Task Model diff --git a/base/src/org/compiere/model/MTax.java b/base/src/org/compiere/model/MTax.java index 6f98974e10..a26cf79652 100644 --- a/base/src/org/compiere/model/MTax.java +++ b/base/src/org/compiere/model/MTax.java @@ -16,11 +16,18 @@ *****************************************************************************/ package org.compiere.model; -import java.math.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.CCache; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.TimeUtil; /** * Tax Model diff --git a/base/src/org/compiere/model/MTaxCategory.java b/base/src/org/compiere/model/MTaxCategory.java index fd40293d5d..0c8dca7539 100644 --- a/base/src/org/compiere/model/MTaxCategory.java +++ b/base/src/org/compiere/model/MTaxCategory.java @@ -16,8 +16,8 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.ResultSet; +import java.util.Properties; /** * Tax Category Model diff --git a/base/src/org/compiere/model/MTaxDeclaration.java b/base/src/org/compiere/model/MTaxDeclaration.java index bb25f9c74c..c288b7ff24 100644 --- a/base/src/org/compiere/model/MTaxDeclaration.java +++ b/base/src/org/compiere/model/MTaxDeclaration.java @@ -16,9 +16,10 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; -import org.compiere.util.*; +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.util.TimeUtil; /** * Tax Declaration Model diff --git a/base/src/org/compiere/model/MTaxDeclarationAcct.java b/base/src/org/compiere/model/MTaxDeclarationAcct.java index 602ee5c686..e6e6e2402c 100644 --- a/base/src/org/compiere/model/MTaxDeclarationAcct.java +++ b/base/src/org/compiere/model/MTaxDeclarationAcct.java @@ -16,8 +16,8 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.ResultSet; +import java.util.Properties; /** * Tax Tax Declaration Accounting Model diff --git a/base/src/org/compiere/model/MTaxDeclarationLine.java b/base/src/org/compiere/model/MTaxDeclarationLine.java index e01cac990f..c22bd99aa4 100644 --- a/base/src/org/compiere/model/MTaxDeclarationLine.java +++ b/base/src/org/compiere/model/MTaxDeclarationLine.java @@ -16,10 +16,10 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.ResultSet; +import java.util.Properties; -import org.compiere.util.*; +import org.compiere.util.Env; /** * Tax Declaration Line Model diff --git a/base/src/org/compiere/model/MTaxPostal.java b/base/src/org/compiere/model/MTaxPostal.java index 52b01455ef..1df94b4d67 100644 --- a/base/src/org/compiere/model/MTaxPostal.java +++ b/base/src/org/compiere/model/MTaxPostal.java @@ -16,8 +16,8 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.ResultSet; +import java.util.Properties; /** diff --git a/base/src/org/compiere/model/MTemplate.java b/base/src/org/compiere/model/MTemplate.java index 2b06e5ffeb..9f2825e084 100644 --- a/base/src/org/compiere/model/MTemplate.java +++ b/base/src/org/compiere/model/MTemplate.java @@ -16,10 +16,15 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Enumeration; +import java.util.Hashtable; +import java.util.Properties; import java.util.logging.Level; -import org.compiere.util.*; + +import org.compiere.util.DB; /** * Web Template Model diff --git a/base/src/org/compiere/model/MTest.java b/base/src/org/compiere/model/MTest.java index 95d892ab33..fd399e19fb 100644 --- a/base/src/org/compiere/model/MTest.java +++ b/base/src/org/compiere/model/MTest.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.math.*; -import java.sql.*; -import java.util.*; -import org.compiere.*; -import org.compiere.util.*; +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; + +import org.compiere.Adempiere; +import org.compiere.util.Env; /** * Test Model diff --git a/base/src/org/compiere/model/MTimeExpense.java b/base/src/org/compiere/model/MTimeExpense.java index abf0b0cf85..747a90c8fe 100644 --- a/base/src/org/compiere/model/MTimeExpense.java +++ b/base/src/org/compiere/model/MTimeExpense.java @@ -16,13 +16,21 @@ *****************************************************************************/ package org.compiere.model; -import java.io.*; -import java.math.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.process.*; -import org.compiere.util.*; +import java.io.File; +import java.math.BigDecimal; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.process.DocAction; +import org.compiere.process.DocumentEngine; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Msg; /** * Time + Expense Model diff --git a/base/src/org/compiere/model/MTimeExpenseLine.java b/base/src/org/compiere/model/MTimeExpenseLine.java index 583f473521..8cabc05f54 100644 --- a/base/src/org/compiere/model/MTimeExpenseLine.java +++ b/base/src/org/compiere/model/MTimeExpenseLine.java @@ -16,10 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.math.*; -import java.sql.*; -import java.util.*; -import org.compiere.util.*; +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; + +import org.compiere.util.DB; +import org.compiere.util.Env; /** * Time + Expense Line Model diff --git a/base/src/org/compiere/model/MTransaction.java b/base/src/org/compiere/model/MTransaction.java index b442340017..a4a0713054 100644 --- a/base/src/org/compiere/model/MTransaction.java +++ b/base/src/org/compiere/model/MTransaction.java @@ -16,10 +16,12 @@ *****************************************************************************/ package org.compiere.model; -import java.math.*; -import java.sql.*; -import java.util.*; -import org.compiere.util.*; +import java.math.BigDecimal; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; + +import org.compiere.util.Env; /** * Material Transaction Model diff --git a/base/src/org/compiere/model/MTree.java b/base/src/org/compiere/model/MTree.java index f43f925674..e36ccd941c 100644 --- a/base/src/org/compiere/model/MTree.java +++ b/base/src/org/compiere/model/MTree.java @@ -16,13 +16,23 @@ *****************************************************************************/ package org.compiere.model; -import java.awt.*; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import javax.sql.*; -import org.compiere.print.*; -import org.compiere.util.*; +import java.awt.Color; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.Enumeration; +import java.util.HashMap; +import java.util.Properties; +import java.util.logging.Level; + +import javax.sql.RowSet; + +import org.compiere.print.MPrintColor; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; /** * Builds Tree. diff --git a/base/src/org/compiere/model/MTreeNode.java b/base/src/org/compiere/model/MTreeNode.java index 8faba74e96..c97148a6de 100644 --- a/base/src/org/compiere/model/MTreeNode.java +++ b/base/src/org/compiere/model/MTreeNode.java @@ -16,13 +16,16 @@ *****************************************************************************/ package org.compiere.model; -import java.awt.*; -import java.util.*; -import javax.swing.*; -import javax.swing.tree.*; -import java.util.logging.*; -import org.compiere.util.*; -import org.compiere.wf.*; +import java.awt.Color; +import java.util.Enumeration; +import java.util.logging.Level; + +import javax.swing.Icon; +import javax.swing.tree.DefaultMutableTreeNode; + +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.wf.MWFNode; /** * Mutable Tree Node (not a PO). diff --git a/base/src/org/compiere/model/MTree_Base.java b/base/src/org/compiere/model/MTree_Base.java index ed417f7ab9..8616f6421f 100644 --- a/base/src/org/compiere/model/MTree_Base.java +++ b/base/src/org/compiere/model/MTree_Base.java @@ -16,9 +16,10 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; -import org.compiere.util.*; +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.util.CCache; /** * Base Tree Model. diff --git a/base/src/org/compiere/model/MTree_Node.java b/base/src/org/compiere/model/MTree_Node.java index 2b7ca2f8ef..5dc45bb4b2 100644 --- a/base/src/org/compiere/model/MTree_Node.java +++ b/base/src/org/compiere/model/MTree_Node.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** * (Disk) Tree Node Model diff --git a/base/src/org/compiere/model/MTree_NodeBP.java b/base/src/org/compiere/model/MTree_NodeBP.java index c6daaba28b..348ae8afe8 100644 --- a/base/src/org/compiere/model/MTree_NodeBP.java +++ b/base/src/org/compiere/model/MTree_NodeBP.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** * (Disk) Tree Node Model BPartner diff --git a/base/src/org/compiere/model/MTree_NodeCMC.java b/base/src/org/compiere/model/MTree_NodeCMC.java index 233529f4da..0c236374aa 100644 --- a/base/src/org/compiere/model/MTree_NodeCMC.java +++ b/base/src/org/compiere/model/MTree_NodeCMC.java @@ -16,10 +16,14 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** diff --git a/base/src/org/compiere/model/MTree_NodeCMS.java b/base/src/org/compiere/model/MTree_NodeCMS.java index 744a8099a9..ef6ece5e4d 100644 --- a/base/src/org/compiere/model/MTree_NodeCMS.java +++ b/base/src/org/compiere/model/MTree_NodeCMS.java @@ -16,10 +16,14 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; -import java.util.logging.*; -import org.compiere.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** diff --git a/base/src/org/compiere/model/MTree_NodeMM.java b/base/src/org/compiere/model/MTree_NodeMM.java index 7ad55f57ef..df1ec1fabb 100644 --- a/base/src/org/compiere/model/MTree_NodeMM.java +++ b/base/src/org/compiere/model/MTree_NodeMM.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** * (Disk) Tree Node Model Menu diff --git a/base/src/org/compiere/model/MTree_NodePR.java b/base/src/org/compiere/model/MTree_NodePR.java index 67efbf2211..391a974e04 100644 --- a/base/src/org/compiere/model/MTree_NodePR.java +++ b/base/src/org/compiere/model/MTree_NodePR.java @@ -16,11 +16,13 @@ *****************************************************************************/ package org.compiere.model; -import java.sql.*; -import java.util.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.Properties; +import java.util.logging.Level; -import java.util.logging.*; -import org.compiere.util.*; +import org.compiere.util.CLogger; +import org.compiere.util.DB; /** * (Disk) Tree Node Model Product