Code cleanup (#1461)
* Code cleanup * Fix flux tests * Fix checkstyle errors * Fix compile error
This commit is contained in:
@ -55,7 +55,7 @@ public class Java8Holder {
|
||||
}
|
||||
}
|
||||
|
||||
if (!HeavyFactory.class.isInstance(heavy)) {
|
||||
if (!(heavy instanceof HeavyFactory)) {
|
||||
heavy = new HeavyFactory();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user