You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2014/10/15 15:39:34 UTC

[jira] [Created] (SLING-4057) ModelFactory: Ordering of method arguments inconsistent

Stefan Seifert created SLING-4057:
-------------------------------------

             Summary: 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
             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)