Last active
August 23, 2016 16:23
-
-
Save Dalamar42/29bab7a9f324255789811ce3468e1ca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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