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 2018/01/23 19:04:52 UTC
[isis] branch ISIS-1846_internal_utils updated: ISIS-1846 improve
java-doc
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch ISIS-1846_internal_utils
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/ISIS-1846_internal_utils by this push:
new 5dd9f73 ISIS-1846 improve java-doc
5dd9f73 is described below
commit 5dd9f737062fd2466e39039deaf91db6aa1014f5
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Jan 23 20:04:51 2018 +0100
ISIS-1846 improve java-doc
---
.../main/java/org/apache/isis/applib/internal/context/_Context.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/applib/src/main/java/org/apache/isis/applib/internal/context/_Context.java b/core/applib/src/main/java/org/apache/isis/applib/internal/context/_Context.java
index ab7b256..5d4889c 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/internal/context/_Context.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/internal/context/_Context.java
@@ -47,7 +47,8 @@ public final class _Context {
* Puts a singleton instance onto the current context.
* @param type non-null
* @param singleton non-null
- * @throws IllegalStateException if there is already an instance of same type on the current context.
+ * @throws IllegalStateException if there is already an instance of same {@code type}
+ * on the current context.
*/
public static void putSingleton(Class<?> type, Object singleton) {
Objects.requireNonNull(type);
@@ -87,8 +88,7 @@ public final class _Context {
/**
* Gets a singleton instance of {@code type} if there is any,
- * otherwise throws the {@code onNotFound}'s result,
- * which could be null.
+ * otherwise throws the {@code onNotFound}'s result.
* @param type non-null
* @param onNotFound non-null
* @return
--
To stop receiving notification emails like this one, please contact
ahuber@apache.org.