Skip to content

Commit 7212e5a

Browse files
authored
Make inner class static to avoid code smell (#3123)
1 parent 22fe4a9 commit 7212e5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-platform-launcher/src/main/java/org/junit/platform/launcher/core/StreamInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void write(byte[] buf, int off, int len) {
9393
super.write(buf, off, len);
9494
}
9595

96-
class RewindableByteArrayOutputStream extends ByteArrayOutputStream {
96+
static class RewindableByteArrayOutputStream extends ByteArrayOutputStream {
9797

9898
private final Deque<Integer> markedPositions = new ArrayDeque<>();
9999

0 commit comments

Comments
 (0)