package com.github.thiagogarbazza.domainvalidation;

/**
 * @param <E> Entity
 * @param <F> Filter
 */
public interface Validator<E, F> {

    void onCreate(final E entity) throws ViolationException;

    void onDelete(final E entity) throws ViolationException;

    void onSearch(final F entity) throws ViolationException;

    void onUpdate(final E entity) throws ViolationException;
}

@@ -169,34 +169,8 @@
 ity)
- throws ViolationException
 ;%0A%0A 
@@ -205,34 +205,8 @@
 ity)
- throws ViolationException
 ;%0A%0A 
@@ -241,34 +241,8 @@
 ity)
- throws ViolationException
 ;%0A%0A 
@@ -277,34 +277,8 @@
 ity)
- throws ViolationException
 ;%0A%7D%0A

fix code-style