[ 
https://issues.apache.org/jira/browse/SLING-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897196#comment-15897196
 ] 

Oliver Lietz commented on SLING-6610:
-------------------------------------

I have to look closer, but {{ValidatorAndSeverity}} feels odd.

> 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
>            Assignee: Konrad Windszus
>             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)

Reply via email to