Skip to content

Commit

Permalink
Adapt to Jva 11
Browse files Browse the repository at this point in the history
  • Loading branch information
GoeLin committed Mar 27, 2024
1 parent 00e1fea commit 5346405
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lib/jdk/test/lib/hexdump/HexPrinter.java
Original file line number Diff line number Diff line change
Expand Up @@ -855,10 +855,10 @@ public enum Formatters implements Formatter {

public void annotate(DataInputStream in, Appendable out) throws IOException {
switch (this) {
case PRINTABLE -> bytePrintable(in, out);
case ASCII -> byteASCII(in, out);
case UTF8 -> utf8Parser(in, out);
case NONE -> byteNoneParser(in, out);
case PRINTABLE: bytePrintable(in, out); break;
case ASCII: byteASCII(in, out); break;
case UTF8: utf8Parser(in, out); break;
case NONE: byteNoneParser(in, out); break;
}
}

Expand Down

0 comments on commit 5346405

Please sign in to comment.