Skip to content

Commit 7df7884

Browse files
committed
[misc] remove MariaDbDataSource.setURL() method, deprecated since 1.3
(cherry picked from commit 49c3e41)
1 parent c59b212 commit 7df7884

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

src/main/java/org/mariadb/jdbc/MariaDbDataSource.java

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -228,28 +228,16 @@ public void setProperties(String properties) throws SQLException {
228228
reInitializeIfNeeded();
229229
}
230230

231-
/**
232-
* Sets the connection string URL.
233-
*
234-
* @param url the connection string
235-
* @throws SQLException if error in URL
236-
* @deprecated since 1.3.0 use setUrl method instead
237-
*/
238-
@Deprecated
239-
public void setURL(String url) throws SQLException {
240-
setUrl(url);
241-
}
242-
243-
/**
244-
* Sets the connection string URL.
245-
*
246-
* @param url the connection string
247-
* @throws SQLException if error in URL
248-
*/
249-
public void setUrl(String url) throws SQLException {
250-
this.url = url;
251-
reInitializeIfNeeded();
252-
}
231+
/**
232+
* Sets the connection string URL.
233+
*
234+
* @param url the connection string
235+
* @throws SQLException if error in URL
236+
*/
237+
public void setUrl(String url) throws SQLException {
238+
this.url = url;
239+
reInitializeIfNeeded();
240+
}
253241

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

0 commit comments

Comments
 (0)