[ 
https://issues.apache.org/jira/browse/SLING-4057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-4057.
-----------------------------------
    Resolution: Fixed

Completed: At revision: 1632023  

i changed the argument order of the latter method (before the new API is 
released)

> ModelFactory: Ordering of method arguments inconsistent
> -------------------------------------------------------
>
>                 Key: SLING-4057
>                 URL: https://issues.apache.org/jira/browse/SLING-4057
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Sling Models Impl 1.2.0
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Trivial
>              Labels: models
>             Fix For: Sling Models Impl 1.2.0
>
>
> the ordering of the methods arguments is inconstant:
> {code:java}
> public <ModelType> ModelType createModel(Object adaptable, Class<ModelType> 
> type);
> public boolean canCreateFromAdaptable(Class<?> modelClass, Object adaptable)
> {code}
> class is last argument for the one method, first argument for the other.



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

Reply via email to