Clean the code to invoke is mob and mob threshold methods in MobUtils.java