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/04/12 23:03:47 UTC

[isis] branch master updated: ISIS-1599 fixes java-doc

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 9fb2db3  ISIS-1599 fixes java-doc
9fb2db3 is described below

commit 9fb2db36e973c80d57b1e401fe0ba07e57fdaa8d
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Apr 13 01:03:44 2018 +0200

    ISIS-1599 fixes java-doc
---
 .../facets/collparam/semantics/CollectionSemantics.java  | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collparam/semantics/CollectionSemantics.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collparam/semantics/CollectionSemantics.java
index bd015b1..76f5c60 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collparam/semantics/CollectionSemantics.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/facets/collparam/semantics/CollectionSemantics.java
@@ -39,7 +39,7 @@ public enum CollectionSemantics {
     SET_IMPLEMENTATION,
     SET_INTERFACE(true),
     
-    OTHER
+    OTHER_IMPLEMENTATION
     ;
 	
 	final boolean isSupportedInterfaceForActionParameters;
@@ -68,39 +68,39 @@ public enum CollectionSemantics {
         if (Set.class.isAssignableFrom(accessorReturnType)) {
         	return Set.class.equals(accessorReturnType) ? SET_INTERFACE : SET_IMPLEMENTATION;
         }
-        return OTHER;
+        return OTHER_IMPLEMENTATION;
     }
 
     /**
-     * The corresponding class is not a subclass of {@link Collection}.
+     * {@link Collection} is not assignable from the corresponding class.
      */
     public boolean isArray() {
         return this == ARRAY;
     }
 
     /**
-     * The corresponding class is assignable from {@link List}.
+     * {@link List} is assignable from the corresponding class.
      */
     public boolean isList() {
         return this == LIST_IMPLEMENTATION || this == LIST_INTERFACE;
     }
 
     /**
-     * The corresponding class is assignable from {@link SortedSet}.
+     * {@link SortedSet} is assignable from the corresponding class.
      */
     public boolean isSortedSet() {
         return this == SORTED_SET_IMPLEMENTATION || this == SORTED_SET_INTERFACE;
     }
     
     /**
-     * The corresponding class is assignable from {@link Set} but not from {@link SortedSet}.
+     * {@link Set} (but not {@link SortedSet}) is assignable from the corresponding class.
      */
     public boolean isUnorderedSet() {
         return this == SET_IMPLEMENTATION || this == SET_INTERFACE;
     }
 
     /**
-     * The corresponding class is assignable from {@link Set}.
+     * {@link Set} is assignable from the corresponding class.
      */
     public boolean isAnySet() {
         return isSortedSet() || isUnorderedSet();
@@ -111,7 +111,7 @@ public enum CollectionSemantics {
      * {@link Collection}.
      */
     public boolean isOther() {
-        return this == OTHER;
+        return this == OTHER_IMPLEMENTATION;
     }
 
     public boolean isListOrArray() {

-- 
To stop receiving notification emails like this one, please contact
ahuber@apache.org.