diff --git a/base/src/org/compiere/report/core/RColumn.java b/base/src/org/compiere/report/core/RColumn.java index f334ad2677..bbdad42289 100644 --- a/base/src/org/compiere/report/core/RColumn.java +++ b/base/src/org/compiere/report/core/RColumn.java @@ -16,11 +16,15 @@ *****************************************************************************/ package org.compiere.report.core; -import java.math.*; -import java.sql.*; -import java.util.*; -import org.compiere.model.*; -import org.compiere.util.*; +import java.math.BigDecimal; +import java.sql.Timestamp; +import java.util.Properties; + +import org.compiere.model.MLookupFactory; +import org.compiere.util.DisplayType; +import org.compiere.util.Env; +import org.compiere.util.Language; +import org.compiere.util.Msg; /** * Report Column @@ -189,7 +193,7 @@ public class RColumn * @param colSQL SQL select code for column * @param colClass class of column - determines display */ - public RColumn (String colHeader, String colSQL, Class colClass) + public RColumn (String colHeader, String colSQL, Class colClass) { m_colHeader = colHeader; m_colSQL = colSQL; @@ -206,7 +210,7 @@ public class RColumn /** Column Display SQL */ private String m_displaySQL; /** Column Display Class */ - private Class m_colClass; + private Class m_colClass; /** Display Type */ private int m_displayType = 0; @@ -267,11 +271,11 @@ public class RColumn /** * Column Display Class */ - public Class getColClass() + public Class getColClass() { return m_colClass; } - public void setColClass(Class colClass) + public void setColClass(Class colClass) { m_colClass = colClass; } diff --git a/base/src/org/compiere/report/core/RModel.java b/base/src/org/compiere/report/core/RModel.java index e67fdd3672..c849db0d54 100644 --- a/base/src/org/compiere/report/core/RModel.java +++ b/base/src/org/compiere/report/core/RModel.java @@ -16,9 +16,11 @@ *****************************************************************************/ package org.compiere.report.core; -import java.io.*; -import java.util.*; -import org.compiere.util.*; +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Properties; + +import org.compiere.util.CLogger; /** * Report Model. @@ -32,6 +34,11 @@ import org.compiere.util.*; */ public class RModel implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1283407521250413019L; + /** * Constructor. Creates RModelData * @param TableName @@ -298,7 +305,7 @@ public class RModel implements Serializable * @param col index * @return Column Class */ - public Class getColumnClass (int col) + public Class getColumnClass (int col) { if (col < 0 || col > m_data.cols.size()) throw new java.lang.IllegalArgumentException("Column invalid"); @@ -335,7 +342,7 @@ public class RModel implements Serializable return null; // throw new java.lang.IllegalArgumentException("Column invalid"); // - ArrayList myRow = (ArrayList)m_data.rows.get(row); + ArrayList myRow = (ArrayList)m_data.rows.get(row); // invalid column if (myRow == null || col >= myRow.size()) return null;