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)