boolean (@Nullable ModuleCustomImlDataEntity oldData, @Nullable ModuleCustomImlDataEntity newData) { if ((oldData == null) != (newData == null)) { return true; } if (newData != null) { if (!Objects.equals(newData.getRootManagerTagCustomData(), oldData.getRootManagerTagCustomData())) { return true; } if (!Objects.equals(newData.getCustomModuleOptions(), oldData.getCustomModuleOptions())) { return true; } } return false; }