Replace while+throw with if+throw in SevenZFile
@@ -1172,7 +1172,7 @@ private Folder readFolder(final ByteBuffer header) throws IOException {
get(header, coders[i].properties);
}
// would need to keep looping as above:
- while (moreAlternativeMethods) {
+ if (moreAlternativeMethods) {
throw new IOException("Alternative methods are unsupported, please report. " + // NOSONAR
"The reference implementation doesn't support them either.");
}
