From 19a1c461acf9da5dcf5b459a81f4f0412c14cb40 Mon Sep 17 00:00:00 2001 From: Simon Ochsenreither Date: Sun, 23 Jan 2022 01:58:35 +0100 Subject: [PATCH] Drop documentation on URL being changed --- .../src/main/java/net/postgis/jdbc/DriverWrapper.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/postgis-jdbc/src/main/java/net/postgis/jdbc/DriverWrapper.java b/postgis-jdbc/src/main/java/net/postgis/jdbc/DriverWrapper.java index a2640b0..1324416 100644 --- a/postgis-jdbc/src/main/java/net/postgis/jdbc/DriverWrapper.java +++ b/postgis-jdbc/src/main/java/net/postgis/jdbc/DriverWrapper.java @@ -145,9 +145,7 @@ private static TypesAdder loadTypesAdder(final String version) throws SQLExcepti /** * Creates a postgresql connection, and then adds the PostGIS data types to it calling addpgtypes(). * - * A side-effect of this method is that the specified url parameter may be changed - * - * @param url the URL of the database to connect to (may be changed as a side-effect of this method) + * @param url the URL of the database to connect to * @param info a list of arbitrary tag/value pairs as connection arguments * @return a connection to the URL or null if the driver does not support the subprotocol specified in the URL * @exception SQLException if a database access error occurs @@ -183,10 +181,8 @@ protected boolean useLW(final Connection result) { /** * Check whether the driver thinks he can handle the given URL. * - * A side-effect of this method is that the specified url parameter may be be changed - * * @see java.sql.Driver#acceptsURL - * @param url the URL of the driver (may be changed as a side-effect of this method) + * @param url the URL of the driver * @return true if this driver accepts the given URL */ public boolean acceptsURL(String url) {