22-FixVisibilityIssues

This commit is contained in:
Adrian-Devries 2025-04-24 12:54:07 +02:00
parent 852f69f748
commit 55a31b2892
2 changed files with 4 additions and 0 deletions

View file

@ -256,12 +256,14 @@ public class Grid {
});
}
@SuppressWarnings("ClassEscapesDefinedScope")
public List<Cell> getColumn(final int index) {
return IntStream.range(0, this.values.size()).filter(n -> n % this.definitions.size() == index).mapToObj(this.values::get)
.collect(Collectors.toList());
}
@SuppressWarnings("ClassEscapesDefinedScope")
public Grid addCell(final Cell cell) {
this.values.add(cell);
return this;

View file

@ -132,6 +132,7 @@ public class StreamHelper {
* @param stream the stream
* @return a wrapped stream
*/
@SuppressWarnings("ClassEscapesDefinedScope")
public static InputStream wrapCount(final LazyReadInput input, final InputStream stream) throws IOException {
return new CountInputStream(input, stream);
}
@ -143,6 +144,7 @@ public class StreamHelper {
* @param stream the stream
* @return a wrapped stream
*/
@SuppressWarnings("ClassEscapesDefinedScope")
public static InputStream wrapDigesting(final LazyReadInput input, final InputStream stream, final String digestAlgorithm) {
return new DigestingInputStream(input, stream, createDigest(digestAlgorithm));
}