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/03/25 19:03:21 UTC
[isis] branch master updated: ISIS-1931 loosen generic type bounds
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 c9ca640 ISIS-1931 loosen generic type bounds
c9ca640 is described below
commit c9ca640a60b7e8ba1478a6729672180ed0e04338
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sun Mar 25 21:03:19 2018 +0200
ISIS-1931 loosen generic type bounds
---
.../java/org/apache/isis/core/metamodel/services/CollectionHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/CollectionHelper.java b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/CollectionHelper.java
index 9b6d9e0..b66b66c 100644
--- a/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/CollectionHelper.java
+++ b/core/metamodel/src/main/java/org/apache/isis/core/metamodel/services/CollectionHelper.java
@@ -66,7 +66,7 @@ class CollectionHelper {
* @throws IllegalArgumentException if the given typeOfCollection is not supported
*/
static <T> Collection<T> collectIntoUnmodifiableCompatibleWithCollectionType (
- Class<? extends Collection<T>> typeOfCollection, Stream<T> elementStream) {
+ Class<?> typeOfCollection, Stream<T> elementStream) {
if(SortedSet.class.isAssignableFrom(typeOfCollection)) {
return Collections.unmodifiableSortedSet(
--
To stop receiving notification emails like this one, please contact
ahuber@apache.org.