[libpostgresql-jdbc-java] 50/93: Mark a nested class as static.

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


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

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

commit 9605800e6aeae0637528171e92f8a3a3745f8c8f
Author: Heikki Linnakangas <heikki.linnakangas at iki.fi>
Date:   Wed Nov 13 21:23:51 2013 +0200

    Mark a nested class as static.
    
    Coverity thinks that's cleaner. Also fix a comment typo while we're at it.
---
 org/postgresql/ssl/jdbc4/LibPQFactory.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/org/postgresql/ssl/jdbc4/LibPQFactory.java b/org/postgresql/ssl/jdbc4/LibPQFactory.java
index 2d13710..f213f7e 100644
--- a/org/postgresql/ssl/jdbc4/LibPQFactory.java
+++ b/org/postgresql/ssl/jdbc4/LibPQFactory.java
@@ -185,10 +185,9 @@ public class LibPQFactory extends WrappedFactory implements HostnameVerifier {
     
     /**
      * A CallbackHandler that reads the password from the console
-     * or returns the password given to it's constructor.
-     *
+     * or returns the password given to its constructor.
      */
-    class ConsoleCallbackHandler implements CallbackHandler {
+    static class ConsoleCallbackHandler implements CallbackHandler {
 
       private char[] password = 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