File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
java/org/apache/catalina/webresources Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -576,6 +576,7 @@ public InputStream getInputStream() throws IOException {
576576
577577 @ Override
578578 @ Deprecated
579+ @ SuppressWarnings ("removal" )
579580 public Permission getPermission () throws IOException {
580581 // Doesn't trigger a call to connect for file:// URLs
581582 return resourceURL .openConnection ().getPermission ();
@@ -639,6 +640,7 @@ public InputStream getInputStream() throws IOException {
639640
640641 @ Override
641642 @ Deprecated
643+ @ SuppressWarnings ("removal" )
642644 public Permission getPermission () throws IOException {
643645 // Doesn't trigger a call to connect for jar:// URLs
644646 return resourceURL .openConnection ().getPermission ();
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ public InputStream getInputStream() throws IOException {
5555
5656 @ Override
5757 @ Deprecated
58+ @ SuppressWarnings ("removal" )
5859 public Permission getPermission () throws IOException {
5960 return wrappedJarUrlConnection .getPermission ();
6061 }
You can’t perform that action at this time.
0 commit comments