Make Validator.validateXXX methods optional 27/14427/1
authorMarek Gradzki <mgradzki@cisco.com>
Thu, 23 Aug 2018 06:24:00 +0000 (08:24 +0200)
committerMarek Gradzki <mgradzki@cisco.com>
Thu, 23 Aug 2018 06:36:14 +0000 (08:36 +0200)
commitfa81283ec4192fc1b754a7862243f564365b0fb3
tree90d8140ff66f659e65ad901b36b68a6b4d59cece
parentcf7927bd7d122b187313952dd159d55241538942
Make Validator.validateXXX methods optional

Some of the writers do not support update,
also write/delete might not require validation.

Therefore, in order to reduce amount of boilerplate code,
make validateXXX methods default with empty implementation.

Change-Id: Id205b478900024c59834a6e6cb18bdbeb9b43792
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/Validator.java