Skip to content
Permalink
Browse files

[misc] remove MariaDbDataSource.setURL() method, deprecated since 1.3

(cherry picked from commit 49c3e41)
  • Loading branch information...
rusher committed Sep 6, 2018
1 parent c59b212 commit 7df7884308dc3ed3760916ce3d281ba08a39b8a2
Showing with 10 additions and 22 deletions.
  1. +10 −22 src/main/java/org/mariadb/jdbc/MariaDbDataSource.java
@@ -228,28 +228,16 @@ public void setProperties(String properties) throws SQLException {
reInitializeIfNeeded();
}

/**
* Sets the connection string URL.
*
* @param url the connection string
* @throws SQLException if error in URL
* @deprecated since 1.3.0 use setUrl method instead
*/
@Deprecated
public void setURL(String url) throws SQLException {
setUrl(url);
}

/**
* Sets the connection string URL.
*
* @param url the connection string
* @throws SQLException if error in URL
*/
public void setUrl(String url) throws SQLException {
this.url = url;
reInitializeIfNeeded();
}
/**
* Sets the connection string URL.
*
* @param url the connection string
* @throws SQLException if error in URL
*/
public void setUrl(String url) throws SQLException {
this.url = url;
reInitializeIfNeeded();
}

/**
* Returns the name of the database server.

0 comments on commit 7df7884

Please sign in to comment.
You can’t perform that action at this time.