Skip to content

Commit

Permalink
Merge pull request #7 from sashirestela/6-cannot-deploy-due-to-gpg-si…
Browse files Browse the repository at this point in the history
…gning-fail

Fixing deploy issues
  • Loading branch information
sashirestela authored Mar 15, 2024
2 parents 2ea3bb4 + 44f8d15 commit afd9391
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<versions.version>2.16.2</versions.version>
<source.version>3.3.0</source.version>
<javadoc.version>3.6.3</javadoc.version>
<gpg.version>3.2.0</gpg.version>
<gpg.version>3.1.0</gpg.version>
<sonatype.version>1.6.13</sonatype.version>
<spotless.version>2.43.0</spotless.version>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

/**
* Defines what class is going to execute the validation for a constraint. Mandatory.
*
* @return Class that executes validation.
*/
@SuppressWarnings("rawtypes")
Class<? extends ConstraintValidator> validatedBy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ default void initialize(A annotation) {
/**
* Execute the object validation against the constraint.
*
* @param value Object to be validated.
* @return The result of the validation.
*/
boolean isValid(T value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public String getName() {
/**
* Prepare the violation message using the constraint's message field as template and replacing
* placeholders with the other constraint's fields.
*
* @return The concrete violation message.
*/
public String getMessage() {
final String TMPL_LOOP = "#for(";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class Validator {
/**
* Check if all the object's fields accomplish their constraints.
*
* @param <T> Generic type.
* @param object Whose fields will be validated.
* @return List of all the unaccomplished constraints.
*/
Expand Down

0 comments on commit afd9391

Please sign in to comment.