From cea783d88438f1194a402dcfbabd9c68e17c075d Mon Sep 17 00:00:00 2001 From: Kevin Wooten Date: Tue, 20 Oct 2015 10:42:46 -0700 Subject: [PATCH] Fix javadoc errors --- .../impossibl/postgres/jdbc/PGPooledConnectionDelegator.java | 1 - .../impossibl/postgres/protocol/ssl/OnDemadKeyManager.java | 2 +- .../java/com/impossibl/postgres/utils/GeometryParsers.java | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/impossibl/postgres/jdbc/PGPooledConnectionDelegator.java b/src/main/java/com/impossibl/postgres/jdbc/PGPooledConnectionDelegator.java index 911b5b520..85a7eee92 100644 --- a/src/main/java/com/impossibl/postgres/jdbc/PGPooledConnectionDelegator.java +++ b/src/main/java/com/impossibl/postgres/jdbc/PGPooledConnectionDelegator.java @@ -61,7 +61,6 @@ public class PGPooledConnectionDelegator implements PGConnection { /** * Constructor * @param owner The owner - * @param isXA Is XA * @param delegator The delegator */ public PGPooledConnectionDelegator(PGPooledConnection owner, PGConnection delegator) { diff --git a/src/main/java/com/impossibl/postgres/protocol/ssl/OnDemadKeyManager.java b/src/main/java/com/impossibl/postgres/protocol/ssl/OnDemadKeyManager.java index bd8d13d7f..212ce1932 100644 --- a/src/main/java/com/impossibl/postgres/protocol/ssl/OnDemadKeyManager.java +++ b/src/main/java/com/impossibl/postgres/protocol/ssl/OnDemadKeyManager.java @@ -101,7 +101,7 @@ public OnDemadKeyManager(String certfile, String keyfile, CallbackHandler cbh, b * getCertificateChain and getPrivateKey cannot throw exeptions, therefore any * exception is stored in this.error and can be raised by this method * - * @throws PSQLException + * @throws SQLException */ public void throwKeyManagerException() throws SQLException { if (error != null) diff --git a/src/main/java/com/impossibl/postgres/utils/GeometryParsers.java b/src/main/java/com/impossibl/postgres/utils/GeometryParsers.java index 32a025b7c..47a015c96 100755 --- a/src/main/java/com/impossibl/postgres/utils/GeometryParsers.java +++ b/src/main/java/com/impossibl/postgres/utils/GeometryParsers.java @@ -70,7 +70,7 @@ public double[][] parsePolygon(CharSequence s) { /** * Parses a circle. *
-   * < ( x , y ) , r >
+   * < ( x , y ) , r >
    * ( ( x , y ) , r )
    * ( x , y ) , r
    * x , y   , r
@@ -207,7 +207,7 @@ public double[] parseLSeg(CharSequence s) {
    *  x1 , y1   ,   x2 , y2
    * 
* @param s The line to parse. - * @return An array of size 3 ([A,B,C] --> Ax+By+C=0.) + * @return An array of size 3 ([A,B,C] --> Ax+By+C=0.) */ public double[] parseLine(CharSequence s) { int pos = consummeSpace(s, 0, true);