remove Objects.isNull 

Objects.isNull is jdk8, so remove it for the moment