You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by ta...@apache.org on 2023/02/09 12:03:07 UTC
[bval] branch master updated: cosmetics
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bval.git
The following commit(s) were added to refs/heads/master by this push:
new d75727b cosmetics
d75727b is described below
commit d75727bae72973000244149edf413055091aeb69
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Thu Feb 9 13:03:02 2023 +0100
cosmetics
---
.gitignore | 1 +
bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 492ed91..9f9908c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ docs/reference/src/main/docbook/en-US/version_info.xml
.factorypath
atlassian-ide-plugin.xml
.externalToolBuilders
+profile.jfr
\ No newline at end of file
diff --git a/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java b/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
index f4a2f2d..d5d6588 100644
--- a/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
+++ b/bval-jsr/src/main/java/org/apache/bval/jsr/job/ValidationJob.java
@@ -251,6 +251,7 @@ public abstract class ValidationJob<T> {
this.realContext = context;
}
+ @Override
void process(GroupStrategy groups, Consumer<ConstraintViolation<T>> sink) {
Validate.notNull(sink, "sink");
final Lazy<Set<Frame<?>>> propertyFrames = new Lazy<>(this::propertyFrames);
@@ -620,7 +621,7 @@ public abstract class ValidationJob<T> {
return maybeResults.isPresent() ? maybeResults.get().size() : 0;
}
- private final String interpolate(String messageTemplate, MessageInterpolator.Context context) {
+ private String interpolate(String messageTemplate, MessageInterpolator.Context context) {
try {
return validatorContext.getMessageInterpolator().interpolate(messageTemplate, context);
} catch (ValidationException e) {