[libpostgresql-jdbc-java] 07/14: Java message format strings need to double 's.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:19:13 UTC 2017


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

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

commit d3b52cff8f17157742de45d9dd31af165b9541f4
Author: Kris Jurka <books at ejurka.com>
Date:   Sat Jun 4 18:24:46 2005 +0000

    Java message format strings need to double 's.
---
 org/postgresql/jdbc2/EscapedFunctions.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/org/postgresql/jdbc2/EscapedFunctions.java b/org/postgresql/jdbc2/EscapedFunctions.java
index 88bdd16..df1b73e 100644
--- a/org/postgresql/jdbc2/EscapedFunctions.java
+++ b/org/postgresql/jdbc2/EscapedFunctions.java
@@ -3,7 +3,7 @@
 * Copyright (c) 2004-2005, PostgreSQL Global Development Group
 *
 * IDENTIFICATION
-* $PostgreSQL: pgjdbc/org/postgresql/jdbc2/EscapedFunctions.java,v 1.4 2005/01/18 21:33:17 oliver Exp $
+* $PostgreSQL: pgjdbc/org/postgresql/jdbc2/EscapedFunctions.java,v 1.5 2005/01/25 06:49:28 jurka Exp $
 *
 *-------------------------------------------------------------------------
 */
@@ -354,7 +354,7 @@ public class EscapedFunctions {
     /** curdate to current_date translation */
     public static String sqlcurdate(List parsedArgs) throws SQLException{
         if (parsedArgs.size()!=0){
-            throw new PSQLException(GT.tr("{0} function doesn't take any argument.","curdate"),
+            throw new PSQLException(GT.tr("{0} function doesn''t take any argument.","curdate"),
                                     PSQLState.SYNTAX_ERROR);
         }
         return "current_date";
@@ -363,7 +363,7 @@ public class EscapedFunctions {
     /** curtime to current_time translation */
     public static String sqlcurtime(List parsedArgs) throws SQLException{
         if (parsedArgs.size()!=0){
-            throw new PSQLException(GT.tr("{0} function doesn't take any argument.","curtime"),
+            throw new PSQLException(GT.tr("{0} function doesn''t take any argument.","curtime"),
                                     PSQLState.SYNTAX_ERROR);
         }
         return "current_time";
@@ -481,7 +481,7 @@ public class EscapedFunctions {
     /** database translation */
     public static String sqldatabase(List parsedArgs) throws SQLException{
         if (parsedArgs.size()!=0){
-            throw new PSQLException(GT.tr("{0} function doesn't take any argument.","database"),
+            throw new PSQLException(GT.tr("{0} function doesn''t take any argument.","database"),
                                     PSQLState.SYNTAX_ERROR);
         }
         return "current_database()";
@@ -499,7 +499,7 @@ public class EscapedFunctions {
     /** user translation */
     public static String sqluser(List parsedArgs) throws SQLException{
         if (parsedArgs.size()!=0){
-            throw new PSQLException(GT.tr("{0} function doesn't take any argument.","user"),
+            throw new PSQLException(GT.tr("{0} function doesn''t take any argument.","user"),
                                     PSQLState.SYNTAX_ERROR);
         }
         return "user";

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