Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Sling Models Impl 1.2.0
Description
the ordering of the methods arguments is inconstant:
public <ModelType> ModelType createModel(Object adaptable, Class<ModelType> type); public boolean canCreateFromAdaptable(Class<?> modelClass, Object adaptable)
class is last argument for the one method, first argument for the other.