From ef6a80431f9546cafd21f3022a27111e4f7d1718 Mon Sep 17 00:00:00 2001 From: Dave Cramer Date: Fri, 12 Dec 2003 17:58:34 +0000 Subject: [PATCH] patch to build under jdk1.1 from Richard Scranton --- .../jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java index cbdcb82033..42cde40286 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java @@ -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)