]> granicus.if.org Git - postgresql/commitdiff
patch to build under jdk1.1 from Richard Scranton
authorDave Cramer <davec@fastcrypt.com>
Fri, 12 Dec 2003 17:58:34 +0000 (17:58 +0000)
committerDave Cramer <davec@fastcrypt.com>
Fri, 12 Dec 2003 17:58:34 +0000 (17:58 +0000)
src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java

index cbdcb820332f73153d20d791999a2ada8e2e51ad..42cde402868d628e889a9fc3f917bd39056b0d45 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright (c) 2003, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java,v 1.24 2003/11/29 19:52:10 pgsql Exp $
+ *       $PostgreSQL: pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java,v 1.25 2003/12/12 17:58:34 davec Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -834,7 +834,7 @@ public abstract class AbstractJdbc1ResultSet implements BaseResultSet
 
                        try
                        {
-                               if (Double.parseDouble(s)==1)
+                               if (Double.valueOf(s).doubleValue()==1)
                                        return true;
                        }
                        catch (NumberFormatException e)