Skip to content

Commit

Permalink
Make inner class static to avoid code smell (#3123)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt authored and marcphilipp committed Jan 6, 2023
1 parent e5b7c6c commit 88903ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void write(byte[] buf, int off, int len) {
super.write(buf, off, len);
}

class RewindableByteArrayOutputStream extends ByteArrayOutputStream {
static class RewindableByteArrayOutputStream extends ByteArrayOutputStream {

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

Expand Down

0 comments on commit 88903ae

Please sign in to comment.