1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-18 17:41:14 +03:00

patch to build under jdk1.1 from Richard Scranton

This commit is contained in:
Dave Cramer 2003-12-12 17:59:08 +00:00
parent 6a621cac4a
commit 26c89c312b

View File

@ -9,7 +9,7 @@
* Copyright (c) 2003, PostgreSQL Global Development Group * Copyright (c) 2003, PostgreSQL Global Development Group
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1ResultSet.java,v 1.22 2003/10/29 02:39:09 davec Exp $ * $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1ResultSet.java,v 1.22.2.1 2003/12/12 17:59:08 davec Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -833,7 +833,7 @@ public abstract class AbstractJdbc1ResultSet implements BaseResultSet
try try
{ {
if (Double.parseDouble(s)==1) if (Double.valueOf(s).doubleValue()==1)
return true; return true;
} }
catch (NumberFormatException e) catch (NumberFormatException e)