This repository was archived by the owner on Aug 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/org/jclouds/s3/filters Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9898 <artifactId >auto-value</artifactId >
9999 <scope >provided</scope >
100100 </dependency >
101+ <dependency >
102+ <groupId >org.gaul</groupId >
103+ <artifactId >modernizer-maven-annotations</artifactId >
104+ <optional >true</optional >
105+ </dependency >
101106 </dependencies >
102107
103108 <profiles >
Original file line number Diff line number Diff line change 1818
1919import com .google .common .io .ByteProcessor ;
2020import com .google .common .io .ByteStreams ;
21+ import org .gaul .modernizer_maven_annotations .SuppressModernizer ;
2122import org .jclouds .http .HttpException ;
2223import org .jclouds .io .MutableContentMetadata ;
2324import org .jclouds .io .Payload ;
@@ -171,6 +172,7 @@ public InputStream openStream() throws IOException {
171172 return new SequenceInputStream (new ChunkedInputStreamEnumeration (this .payload .openStream (), chunkedBlockSize ));
172173 }
173174
175+ @ SuppressModernizer // for Enumeration
174176 private class ChunkedInputStreamEnumeration implements Enumeration <InputStream > {
175177 private final InputStream inputStream ;
176178 private boolean lastChunked ;
You can’t perform that action at this time.
0 commit comments