You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/27 07:20:15 UTC

[isis] branch master updated: ISIS-2158: java-doc fix

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 2a9d290  ISIS-2158: java-doc fix
2a9d290 is described below

commit 2a9d290779d6c9979c6538e655662b75ba86ba94
Author: Andi Huber <ah...@apache.org>
AuthorDate: Mon Jan 27 08:20:05 2020 +0100

    ISIS-2158: java-doc fix
---
 .../org/apache/isis/applib/services/factory/FactoryService.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java b/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
index 5d86540..2792c92 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/factory/FactoryService.java
@@ -115,7 +115,8 @@ public interface FactoryService {
      * with injection points resolved
      * and defaults applied.
      * @param domainClass - not applicable to IoC container managed types
-     * @throws IllegalArgumentException if domainClass is not an IoC container managed type
+     * @throws IllegalArgumentException if domainClass is an IoC container managed type, 
+     *      or not recognized by the meta-model
      * @apiNote forces the domainClass to be added to the meta-model if not already
      * @since 2.0
      */
@@ -151,7 +152,8 @@ public interface FactoryService {
      * method.
      * </p>
      * @deprecated with semantic changes since 2.0 previous behavior is no longer guaranteed, 
-     * instead consider use of {@link #getOrCreate(Class)} if applicable
+     * instead consider use of @{@link #detachedEntity(Class)} or {@link #getOrCreate(Class)} 
+     * if applicable
      */
     @Deprecated
     default <T> T instantiate(Class<T> domainClass) {