Skip to content

Commit f52eec9

Browse files
committed
Deprecate/rename method
1 parent 60f9560 commit f52eec9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tls/src/main/java/org/bouncycastle/jsse/util/URLConnectionUtil.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,17 @@ public URLConnection openConnection(URL url, Proxy proxy) throws IOException
3333
return configureConnection(url, url.openConnection(proxy));
3434
}
3535

36+
/** @deprecated Use {@link #openStream(URL)} instead */
3637
public InputStream openInputStream(URL url) throws IOException
3738
{
3839
return openConnection(url).getInputStream();
3940
}
4041

42+
public InputStream openStream(URL url) throws IOException
43+
{
44+
return openConnection(url).getInputStream();
45+
}
46+
4147
protected URLConnection configureConnection(URL url, URLConnection connection)
4248
{
4349
if (!(connection instanceof HttpsURLConnection))

0 commit comments

Comments
 (0)