Repository: cayenne Updated Branches: refs/heads/master 9a679a66c -> 0e574ea82
cleanup Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/0e574ea8 Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/0e574ea8 Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/0e574ea8 Branch: refs/heads/master Commit: 0e574ea82b788d476d62970c7cb84b8cdf755c12 Parents: 9a679a6 Author: Andrus Adamchik <and...@objectstyle.com> Authored: Thu Dec 29 06:57:13 2016 +0200 Committer: Andrus Adamchik <and...@objectstyle.com> Committed: Thu Dec 29 16:10:10 2016 +0200 ---------------------------------------------------------------------- .../src/main/java/org/apache/cayenne/Validating.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/0e574ea8/cayenne-server/src/main/java/org/apache/cayenne/Validating.java ---------------------------------------------------------------------- diff --git a/cayenne-server/src/main/java/org/apache/cayenne/Validating.java b/cayenne-server/src/main/java/org/apache/cayenne/Validating.java index de1fd12..5e5b73d 100644 --- a/cayenne-server/src/main/java/org/apache/cayenne/Validating.java +++ b/cayenne-server/src/main/java/org/apache/cayenne/Validating.java @@ -23,7 +23,7 @@ import org.apache.cayenne.validation.ValidationResult; /** * Defines a number of callback methods that allow an object to be validated before safe. * Entity class can implement this interface and its methods will be called automatically. - * + * * @since 3.0 */ public interface Validating { @@ -33,19 +33,19 @@ public interface Validating { * to the provided validationResult object. This method is invoked by ObjectContext * before committing a NEW object to the database. */ - public void validateForInsert(ValidationResult validationResult); + void validateForInsert(ValidationResult validationResult); /** * Performs property validation of the MODIFIED object, appending any validation * failures to the provided validationResult object. This method is invoked by * ObjectContext before committing a MODIFIED object to the database. */ - public void validateForUpdate(ValidationResult validationResult); + void validateForUpdate(ValidationResult validationResult); /** * Performs property validation of the DELETED object, appending any validation * failures to the provided validationResult object. This method is invoked by * ObjectContext before committing a DELETED object to the database. */ - public void validateForDelete(ValidationResult validationResult); + void validateForDelete(ValidationResult validationResult); }