Code cleanup

This commit is contained in:
Ilkka Seppälä
2020-07-30 17:25:32 +03:00
parent 5381387026
commit 981985531d
243 changed files with 1157 additions and 1166 deletions

View File

@@ -55,7 +55,7 @@ public class Java8Holder {
}
}
if (!HeavyFactory.class.isInstance(heavy)) {
if (!(heavy instanceof HeavyFactory)) {
heavy = new HeavyFactory();
}