diff options
author | Tim McCune <javajedi@users.sf.net> | 2005-04-09 16:34:30 +0000 |
---|---|---|
committer | Tim McCune <javajedi@users.sf.net> | 2005-04-09 16:34:30 +0000 |
commit | cced4803c4007131f22456501ef28d1f2929c32c (patch) | |
tree | ad58da4934958a15245137ac883e39f4c5f9edd0 | |
parent | 63910e5e0c4a52832cf051b499fdc55b3dfa56b8 (diff) | |
download | jackcess-cced4803c4007131f22456501ef28d1f2929c32c.tar.gz jackcess-cced4803c4007131f22456501ef28d1f2929c32c.zip |
Fixed comparable.
Turned statcvs report back on.
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@11 f203690c-595d-4dc9-a70b-905162fa7fd2
-rw-r--r-- | project.xml | 2 | ||||
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Column.java | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/project.xml b/project.xml index ae863f3..c8e88ed 100644 --- a/project.xml +++ b/project.xml @@ -97,6 +97,6 @@ <report>maven-javadoc-plugin</report> <report>maven-jxr-plugin</report> <report>maven-jdepend-plugin</report> - <!--<report>maven-statcvs-plugin</report>--> + <report>maven-statcvs-plugin</report> </reports> </project> diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 04182ef..cb0b64d 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -49,7 +49,7 @@ import org.apache.commons.logging.LogFactory; * Access database column definition * @author Tim McCune */ -public class Column implements Comparable { +public class Column implements Comparable<Column> { private static final Log LOG = LogFactory.getLog(Column.class); @@ -499,8 +499,7 @@ public class Column implements Comparable { return rtn.toString(); } - public int compareTo(Object obj) { - Column other = (Column) obj; + public int compareTo(Column other) { if (_columnNumber > other.getColumnNumber()) { return 1; } else if (_columnNumber < other.getColumnNumber()) { |