Always throw a rethrow so the compile can detect unreachable code

This commit is contained in:
Peter Lawrey
2020-10-27 09:36:41 +00:00
parent c6cb8865c8
commit 47f22a4572
@@ -72,7 +72,7 @@ public class MapJLBHTest implements JLBHTask {
write = ChronicleMapBuilder.of(Long.class, IFacade.class).constantValueSizeBySample(datum).entries(1_100_000).createOrRecoverPersistedTo(mapFile);
read = ChronicleMapBuilder.of(Long.class, IFacade.class).constantValueSizeBySample(datum).entries(1_100_000).createOrRecoverPersistedTo(mapFile);
} catch (IOException ex) {
Jvm.rethrow(ex);
throw Jvm.rethrow(ex);
}
}