diff --git a/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AbstractAutoCloseStream.java b/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AbstractAutoCloseStream.java index 910c189..35d4558 100644 --- a/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AbstractAutoCloseStream.java +++ b/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AbstractAutoCloseStream.java @@ -28,6 +28,7 @@ import java.util.function.*; import java.util.stream.*; +@SuppressWarnings("javaarchitecture:S7027") public class AbstractAutoCloseStream> implements AutoCloseable { private final S stream; private final AtomicBoolean isClosed; diff --git a/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AutoCloseStream.java b/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AutoCloseStream.java index 766d9d0..80dafb7 100644 --- a/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AutoCloseStream.java +++ b/src/main/java/com/apptasticsoftware/rssreader/internal/stream/AutoCloseStream.java @@ -36,6 +36,7 @@ *

* The {@link #iterator()} and {@link #spliterator()} methods are not supported by this class. */ +@SuppressWarnings("javaarchitecture:S7027") public class AutoCloseStream extends AbstractAutoCloseStream> implements Stream { AutoCloseStream(Stream stream) {