You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:54:49 UTC

[sling-org-apache-sling-models-api] 09/34: SLING-4057 ModelFactory: Ordering of method arguments inconsistent

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.models.api-1.2.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-models-api.git

commit 572b5255e383ef3af33abd6c1dd1435732365754
Author: Stefan Seifert <ss...@apache.org>
AuthorDate: Wed Oct 15 13:41:31 2014 +0000

    SLING-4057 ModelFactory: Ordering of method arguments inconsistent
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/api@1632023 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/models/factory/ModelFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/models/factory/ModelFactory.java b/src/main/java/org/apache/sling/models/factory/ModelFactory.java
index 69cf4da..dafb2ac 100644
--- a/src/main/java/org/apache/sling/models/factory/ModelFactory.java
+++ b/src/main/java/org/apache/sling/models/factory/ModelFactory.java
@@ -43,7 +43,7 @@ public interface ModelFactory {
      * @return false in case the given class can not be adapted from the given adaptable
      * @throws InvalidModelException in case the given class does not have a model annotation
      */
-    public boolean canCreateFromAdaptable(Class<?> modelClass, Object adaptable) throws InvalidModelException;
+    public boolean canCreateFromAdaptable(Object adaptable, Class<?> modelClass) throws InvalidModelException;
 
     /**
      * 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.