[libpostgresql-jdbc-java] 04/09: Fix JDK 1.2 compiles where Calendar.setTimeInMillis is not available.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:19:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to tag REL8_0_311
in repository libpostgresql-jdbc-java.
commit 9ad5d106b63aeb22e7c225c0952026da4d10bee4
Author: Kris Jurka <books at ejurka.com>
Date: Tue Feb 15 09:09:31 2005 +0000
Fix JDK 1.2 compiles where Calendar.setTimeInMillis is not available.
---
org/postgresql/jdbc2/AbstractJdbc2Statement.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org/postgresql/jdbc2/AbstractJdbc2Statement.java b/org/postgresql/jdbc2/AbstractJdbc2Statement.java
index d309e6f..bc568f3 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2Statement.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2Statement.java
@@ -3,7 +3,7 @@
* Copyright (c) 2004-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
-* $PostgreSQL: pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java,v 1.68.2.1 2005/02/15 08:32:16 jurka Exp $
+* $PostgreSQL: pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java,v 1.68.2.2 2005/02/15 08:55:50 jurka Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2845,7 +2845,7 @@ public abstract class AbstractJdbc2Statement implements BaseStatement
if (millis == PGStatement.DATE_POSITIVE_INFINITY ||
millis == PGStatement.DATE_NEGATIVE_INFINITY)
{
- cal.setTimeInMillis(millis);
+ cal.setTime(t);
return cal;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git
More information about the pkg-java-commits
mailing list