Skip to content

Commit

Permalink
Use longer line instead of building a string
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 6, 2024
1 parent 091ac63 commit ea9f23d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1916,8 +1916,7 @@ private int sanityCheckFolder(final ByteBuffer header, final ArchiveStatistics s
final boolean hasAttributes = (bits & 0x20) != 0;
final boolean moreAlternativeMethods = (bits & 0x80) != 0;
if (moreAlternativeMethods) {
throw new IOException("Alternative methods are unsupported, please report. " + // NOSONAR
"The reference implementation doesn't support them either.");
throw new IOException("Alternative methods are unsupported, please report. The reference implementation doesn't support them either.");
}

if (isSimple) {
Expand Down

0 comments on commit ea9f23d

Please sign in to comment.