You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2015/09/10 23:52:02 UTC

svn commit: r1702330 - /sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java

Author: sseifert
Date: Thu Sep 10 21:52:02 2015
New Revision: 1702330

URL: http://svn.apache.org/r1702330
Log:
fix javadoc errors

Modified:
    sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java

Modified: sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java?rev=1702330&r1=1702329&r2=1702330&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java (original)
+++ sling/trunk/bundles/extensions/models/api/src/main/java/org/apache/sling/models/factory/ModelFactory.java Thu Sep 10 21:52:02 2015
@@ -68,8 +68,9 @@ public interface ModelFactory {
     /**
      * Checks if a given type can be instantiated though Sling Models. This checks that
      * <ul>
-     * <li>there is a class annotated with {@link Model} which adapts to the given type</li>
+     * <li>there is a class annotated with <code>Model</code> which adapts to the given type</li>
      * <li>this class is registered as Sling Model (i.e. the package is listed in the "Sling-Model-Packages" header from the bundles manifest)</li>
+     * </ul>
      * Only if both conditions are fulfilled this method will return {@code true}.
      * @param type the class to check
      * @return {@code true} in case the given type can be instantiated though Sling Models.