Skip to content

Commit

Permalink
Fixed Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
cgendreau committed Dec 23, 2024
1 parent e9a2534 commit bcb8811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ protected void preCreate(T entity) {
public void validateBusinessRules(T identifierType) {
applyBusinessRule(identifierType, identifierTypeValidator);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public IdentifierTypeValidator(@Named("validationMessageSource") MessageSource m
@Override
public void validateTarget(IdentifierType target, Errors errors) {

if(StringUtils.isNotBlank(target.getUriTemplate())) {
if(!target.getUriTemplate().contains("$1")) {
if (StringUtils.isNotBlank(target.getUriTemplate())) {
if (!target.getUriTemplate().contains("$1")) {
errors.reject(MISSING_PLACEHOLDER_KEY, getMessage(MISSING_PLACEHOLDER_KEY));
}
}
Expand Down

0 comments on commit bcb8811

Please sign in to comment.