[libpostgresql-jdbc-java] 08/24: revert back to new String("NULL")

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 21:17:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to tag REL9_3_1103
in repository libpostgresql-jdbc-java.

commit e4b2b346894010f59dd1d207e1b90d0b37d381c9
Author: Dave Cramer <dave.cramer at credativ.ca>
Date:   Mon Sep 15 10:27:43 2014 +0000

    revert back to new String("NULL")
---
 org/postgresql/core/v2/SimpleParameterList.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org/postgresql/core/v2/SimpleParameterList.java b/org/postgresql/core/v2/SimpleParameterList.java
index 4b30c2e..da83c05 100644
--- a/org/postgresql/core/v2/SimpleParameterList.java
+++ b/org/postgresql/core/v2/SimpleParameterList.java
@@ -178,6 +178,6 @@ class SimpleParameterList implements ParameterList {
      * nb: we explicitly say "new String" to avoid interning giving us an object that
      * might be the same (by identity) as a String elsewhere.
      */
-    private final static String NULL_OBJECT = "NULL";
+    private final static String NULL_OBJECT = new String("NULL");
 }
 

-- 
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