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

Stefan Seifert commented on SLING-6039:
---------------------------------------

the change would be quite simple, here is a proposal: 
https://github.com/apache/sling/pull/166

[~bdelacretaz] what do you think?

> ResourceBuilder: Split up ResourceBuilder and ResourceBuilderFactory
> --------------------------------------------------------------------
>
>                 Key: SLING-6039
>                 URL: https://issues.apache.org/jira/browse/SLING-6039
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Resource Builder 1.0.0
>
>
> i do not understand why we combine the use cases
> * resource builder creation
> * resource builder usage
> in one single ResourceBuilder interface, with two implementations each only 
> supporting the one part or another, throwing exception when the other methods 
> are used.
> it think it would be quite cleaner and easier to understand to create a 
> separate ResourceBuilderFactory interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to