This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL8_1_410 in repository libpostgresql-jdbc-java.
commit 2e206f5fa4b881abbbe7159f6a6e2d17f5f5a6f0 Author: Kris Jurka <[email protected]> Date: Wed Jun 13 07:25:10 2007 +0000 Error message has the wrong index into the paramTypes array. Nathan Keynes --- org/postgresql/core/v3/SimpleParameterList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/postgresql/core/v3/SimpleParameterList.java b/org/postgresql/core/v3/SimpleParameterList.java index 07916f4..e7945fb 100644 --- a/org/postgresql/core/v3/SimpleParameterList.java +++ b/org/postgresql/core/v3/SimpleParameterList.java @@ -4,7 +4,7 @@ * Copyright (c) 2004, Open Cloud Limited. * * IDENTIFICATION -* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.10.2.1 2006/05/22 09:56:32 jurka Exp $ +* $PostgreSQL: pgjdbc/org/postgresql/core/v3/SimpleParameterList.java,v 1.10.2.2 2006/05/23 23:05:29 jurka Exp $ * *------------------------------------------------------------------------- */ @@ -197,7 +197,7 @@ class SimpleParameterList implements V3ParameterList { if (paramTypes[index-1] == Oid.INVALID) { paramTypes[index-1] = oid; } else if (paramTypes[index-1] != oid) { - throw new IllegalArgumentException("Can't change resolved type for param: " + index + " from " + paramTypes[index] + " to " + oid); + throw new IllegalArgumentException("Can't change resolved type for param: " + index + " from " + paramTypes[index-1] + " to " + oid); } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

