Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Dalamar42/29bab7a9f324255789811ce3468e1ca6 to your computer and use it in GitHub Desktop.
Save Dalamar42/29bab7a9f324255789811ce3468e1ca6 to your computer and use it in GitHub Desktop.
public boolean isValid(Data data) {
boolean valid = validator.validate(data);
if (!valid) {
monitoringServiceClient.notifyOfInvalidData(data);
}
return valid;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment