Skip to content

Commit

Permalink
Drop documentation on URL being changed
Browse files Browse the repository at this point in the history
  • Loading branch information
soc authored and phillipross committed Jan 27, 2022
1 parent c7498a0 commit ba372a2
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit ba372a2

Please sign in to comment.