From cced4803c4007131f22456501ef28d1f2929c32c Mon Sep 17 00:00:00 2001 From: Tim McCune Date: Sat, 9 Apr 2005 16:34:30 +0000 Subject: [PATCH] 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 --- project.xml | 2 +- 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 @@ maven-javadoc-plugin maven-jxr-plugin maven-jdepend-plugin - + maven-statcvs-plugin 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 { 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()) { -- 2.39.5