boolean (Consent consent) { if (consent == null || consent.isDeleted() || isEAP() && STATISTICS_OPTION_ID.equals(consent.getId())) { // for EA builds there is a different option for statistics sending management return false; } final ConfirmedConsent confirmedConsent = loadConfirmedConsents().get(consent.getId()); if (confirmedConsent == null) { return true; } final Version confirmedVersion = confirmedConsent.getVersion(); final Version defaultVersion = consent.getVersion(); // consider only major version differences return confirmedVersion.isOlder(defaultVersion) && confirmedVersion.getMajor() != defaultVersion.getMajor(); }