void (final LogFileOptions o, final LogFileOptions aValue) { if (aValue != null) { if (!o.getName().equals(aValue.getName()) || !o.getPathPattern().equals(aValue.getPathPattern()) || o.isShowAll() != aValue.isShowAll()) { myLog2Predefined.remove(o); } o.setName(aValue.getName()); o.setShowAll(aValue.isShowAll()); o.setPathPattern(aValue.getPathPattern()); } }