Skip to content

Commit 99ce7d4

Browse files
SNOW-1059684: Fix deprecation links (#1640)
1 parent b8c0605 commit 99ce7d4

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

src/main/java/net/snowflake/client/core/HttpUtil.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ public static void closeExpiredAndIdleConnections() {
143143
*
144144
* @param key key to HttpClient map containing OCSP and proxy info
145145
* @param clientConfig the configuration needed by S3 to set the proxy
146-
* @deprecated use S3HttpUtil.setProxyForS3(HttpClientSettingsKey, ClientConfiguration) instead
146+
* @deprecated Use {@link S3HttpUtil#setProxyForS3(HttpClientSettingsKey, ClientConfiguration)}
147+
* instead
147148
*/
148149
@Deprecated
149150
public static void setProxyForS3(HttpClientSettingsKey key, ClientConfiguration clientConfig) {
@@ -157,7 +158,8 @@ public static void setProxyForS3(HttpClientSettingsKey key, ClientConfiguration
157158
* @param proxyProperties proxy properties
158159
* @param clientConfig the configuration needed by S3 to set the proxy
159160
* @throws SnowflakeSQLException
160-
* @deprecated use S3HttpUtil.setSessionlessProxyForS3(Properties, ClientConfiguration) instead
161+
* @deprecated Use {@link S3HttpUtil#setSessionlessProxyForS3(Properties, ClientConfiguration)}
162+
* instead
161163
*/
162164
@Deprecated
163165
public static void setSessionlessProxyForS3(

src/main/java/net/snowflake/client/core/SnowflakeMutableProxyRoutePlanner.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public class SnowflakeMutableProxyRoutePlanner implements HttpRoutePlanner, Seri
2727
private HttpProtocol protocol;
2828

2929
/**
30-
* @deprecated use SnowflakeMutableProxyRoutePlanner(String host, int proxyPort, HttpProtocol
31-
* protocol, String nonProxyHosts)
30+
* @deprecated Use {@link #SnowflakeMutableProxyRoutePlanner(String, int, HttpProtocol, String)}
31+
* instead
3232
*/
3333
@Deprecated
3434
public SnowflakeMutableProxyRoutePlanner(

src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializable.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public Builder setSfFullURL(String sfFullURL) {
7171
* sc:2.8.2/jdbc:3.12.12 since Sept 2020. It is safe to remove it after Sept 2022.
7272
*
7373
* @return a ResultSet which represents for the data wrapped in the object
74-
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
74+
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
7575
*/
7676
@Deprecated
7777
ResultSet getResultSet() throws SQLException;
@@ -84,7 +84,7 @@ public Builder setSfFullURL(String sfFullURL) {
8484
*
8585
* @param info The proxy server information if proxy is necessary.
8686
* @return a ResultSet which represents for the data wrapped in the object
87-
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
87+
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
8888
*/
8989
@Deprecated
9090
ResultSet getResultSet(Properties info) throws SQLException;

src/main/java/net/snowflake/client/jdbc/SnowflakeResultSetSerializableV1.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ public ResultSet getResultSet(ResultSetRetrieveConfig resultSetRetrieveConfig)
10681068
* sc:2.8.2/jdbc:3.12.12 since Sept 2020. It is safe to remove it after Sept 2022.
10691069
*
10701070
* @return a ResultSet which represents for the data wrapped in the object
1071-
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
1071+
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
10721072
*/
10731073
@Deprecated
10741074
public ResultSet getResultSet() throws SQLException {
@@ -1083,7 +1083,7 @@ public ResultSet getResultSet() throws SQLException {
10831083
*
10841084
* @param info The proxy sever information if proxy is necessary.
10851085
* @return a ResultSet which represents for the data wrapped in the object
1086-
* @deprecated Please use new interface function getResultSet(ResultSetRetrieveConfig)
1086+
* @deprecated Use {@link #getResultSet(ResultSetRetrieveConfig)} instead
10871087
*/
10881088
@Deprecated
10891089
public ResultSet getResultSet(Properties info) throws SQLException {

0 commit comments

Comments
 (0)