refactor: use Optional.ifPresent(...) instead of if (Objects.nonNull(o)) {...}
refactor: use Optional.ifPresent(...) instead of if (Objects.nonNull(o)) {...}

aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips