Skip to content

Commit

Permalink
SNOW-1059684: Fix deprecation links (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dprzybysz authored Feb 16, 2024
1 parent b8c0605 commit 99ce7d4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions src/main/java/net/snowflake/client/core/HttpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ public static void closeExpiredAndIdleConnections() {
*
* @param key key to HttpClient map containing OCSP and proxy info
* @param clientConfig the configuration needed by S3 to set the proxy
* @deprecated use S3HttpUtil.setProxyForS3(HttpClientSettingsKey, ClientConfiguration) instead
* @deprecated Use {@link S3HttpUtil#setProxyForS3(HttpClientSettingsKey, ClientConfiguration)}
* instead
*/
@Deprecated
public static void setProxyForS3(HttpClientSettingsKey key, ClientConfiguration clientConfig) {
Expand All @@ -157,7 +158,8 @@ public static void setProxyForS3(HttpClientSettingsKey key, ClientConfiguration
* @param proxyProperties proxy properties
* @param clientConfig the configuration needed by S3 to set the proxy
* @throws SnowflakeSQLException
* @deprecated use S3HttpUtil.setSessionlessProxyForS3(Properties, ClientConfiguration) instead
* @deprecated Use {@link S3HttpUtil#setSessionlessProxyForS3(Properties, ClientConfiguration)}
* instead
*/
@Deprecated
public static void setSessionlessProxyForS3(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public class SnowflakeMutableProxyRoutePlanner implements HttpRoutePlanner, Seri
private HttpProtocol protocol;

/**
* @deprecated use SnowflakeMutableProxyRoutePlanner(String host, int proxyPort, HttpProtocol
* protocol, String nonProxyHosts)
* @deprecated Use {@link #SnowflakeMutableProxyRoutePlanner(String, int, HttpProtocol, String)}
* instead
*/
@Deprecated
public SnowflakeMutableProxyRoutePlanner(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Builder setSfFullURL(String sfFullURL) {
* sc:2.8.2/jdbc:3.12.12 since Sept 2020. It is safe to remove it after Sept 2022.
*
* @return a ResultSet which represents for the data wrapped in the object
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
*/
@Deprecated
ResultSet getResultSet() throws SQLException;
Expand All @@ -84,7 +84,7 @@ public Builder setSfFullURL(String sfFullURL) {
*
* @param info The proxy server information if proxy is necessary.
* @return a ResultSet which represents for the data wrapped in the object
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
*/
@Deprecated
ResultSet getResultSet(Properties info) throws SQLException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ public ResultSet getResultSet(ResultSetRetrieveConfig resultSetRetrieveConfig)
* sc:2.8.2/jdbc:3.12.12 since Sept 2020. It is safe to remove it after Sept 2022.
*
* @return a ResultSet which represents for the data wrapped in the object
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
*/
@Deprecated
public ResultSet getResultSet() throws SQLException {
Expand All @@ -1083,7 +1083,7 @@ public ResultSet getResultSet() throws SQLException {
*
* @param info The proxy sever information if proxy is necessary.
* @return a ResultSet which represents for the data wrapped in the object
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
*/
@Deprecated
public ResultSet getResultSet(Properties info) throws SQLException {
Expand Down

0 comments on commit 99ce7d4

Please sign in to comment.