You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2017/04/05 11:36:42 UTC

[jira] [Commented] (SLING-6662) Move DefaultValidationFailure and DefaultValidationResult out of package org.apache.sling.validation.spi

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

Oliver Lietz commented on SLING-6662:
-------------------------------------

We don't have a strict naming pattern and I guess having _SPI_ in _API_ has historical reasons (we didn't cleary distinguish between API and SPI in the past).
Naming packages or modules _impl_ is unfavorable when you also provide base classes for extension or support classes which are not part of API or SPI (_internal_ for packages containing private implementation classes is IMHO a better choice) and alternative implementations in other modules (see _discovery_ or _event_).

> Move DefaultValidationFailure and DefaultValidationResult out of package org.apache.sling.validation.spi
> --------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-6662
>                 URL: https://issues.apache.org/jira/browse/SLING-6662
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions, Validation
>            Reporter: Oliver Lietz
>            Assignee: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>
> Move DefaultValidationFailure and DefaultValidationResult to Validation Core (package {{org.apache.sling.validation.support|base}}) to keep Validation API lean.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)