Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 89174 invoked from network); 1 Aug 2007 04:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Aug 2007 04:32:27 -0000 Received: (qmail 66644 invoked by uid 500); 1 Aug 2007 04:32:16 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 66480 invoked by uid 500); 1 Aug 2007 04:32:15 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 66359 invoked by uid 99); 1 Aug 2007 04:32:14 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2007 21:32:14 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2007 04:32:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 563101A981D; Tue, 31 Jul 2007 21:31:52 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r561644 - /commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestResultSetMetaData.java Date: Wed, 01 Aug 2007 04:31:52 -0000 To: commits@commons.apache.org From: niallp@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070801043152.563101A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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")) {