commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r561644 - /commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java
Date Wed, 01 Aug 2007 04:31:52 GMT
Author: niallp
Date: Tue Jul 31 21:31:50 2007
New Revision: 561644

URL: http://svn.apache.org/viewvc?view=rev&rev=561644
Log:
Remove java.sql.Types.BOOLEAN which requires JDK 1.4

Modified:
    commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java

Modified: commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java?view=diff&rev=561644&r1=561643&r2=561644
==============================================================================
--- commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java
(original)
+++ commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java
Tue Jul 31 21:31:50 2007
@@ -128,8 +128,9 @@
         int sqlType = Types.OTHER;
         if (columnName.equals("bigDecimalProperty")) {
             sqlType = Types.DECIMAL;
-        } else if (columnName.equals("booleanProperty")) {
-            sqlType = Types.BOOLEAN;
+// Types.BOOLEAN only introduced in JDK 1.4
+//        } else if (columnName.equals("booleanProperty")) {
+//            sqlType = Types.BOOLEAN;
         } else if (columnName.equals("byteProperty")) {
             sqlType = Types.TINYINT;
         } else if (columnName.equals("dateProperty")) {



Mime
View raw message