[
https://issues.apache.org/jira/browse/SLING-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897009#comment-15897009
]
Konrad Windszus commented on SLING-6610:
----------------------------------------
Fixed in [r1785616|http://svn.apache.org/r1785616]. I also straightened up the
severity handling.
> DefaultValidationFailure and DefaultValidationResult should use
> ValidationContext as parameter
> ----------------------------------------------------------------------------------------------
>
> Key: SLING-6610
> URL: https://issues.apache.org/jira/browse/SLING-6610
> Project: Sling
> Issue Type: Improvement
> Components: Extensions, Validation
> Reporter: Oliver Lietz
> Fix For: Validation 1.0.0
>
>
> {{ValidationContext}}:
> {noformat}
> public DefaultValidationFailure(@Nonnull ValidationContext validationContext,
> @Nonnull String messageKey, Object... messageArguments)
> {noformat}
> instead of {{location}}, {{severity}} and {{ResourceBundle}} from
> {{ValidationContext}}:
> {noformat}
> public DefaultValidationFailure(@Nonnull String location, Integer severity,
> @Nonnull ResourceBundle defaultResourceBundle, @Nonnull String messageKey,
> Object... messageArguments)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)