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
commit 9a51b98515fa864d175297e3eae2937a59732b2b Author: Andi Huber <ahu...@apache.org> AuthorDate: Fri Apr 27 20:43:40 2018 +0200 ISIS-1940 let the SortedSet-of-list adapter return a comparator=null otherwise streaming the elements will throw an exception --- .../applib/internal/collections/_Collections_SortedSetOfList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/applib/src/main/java/org/apache/isis/applib/internal/collections/_Collections_SortedSetOfList.java b/core/applib/src/main/java/org/apache/isis/applib/internal/collections/_Collections_SortedSetOfList.java index add7d8a..d78558c 100644 --- a/core/applib/src/main/java/org/apache/isis/applib/internal/collections/_Collections_SortedSetOfList.java +++ b/core/applib/src/main/java/org/apache/isis/applib/internal/collections/_Collections_SortedSetOfList.java @@ -113,7 +113,10 @@ class _Collections_SortedSetOfList<T> implements SortedSet<T> { @Override public Comparator<? super T> comparator() { - throw new UnsupportedOperationException(JUST_AN_ADAPTER); + return null; + // this set was created from a list, we have no + // info about the intended comparator, + // but a least let stream traverse the elements } @Override -- To stop receiving notification emails like this one, please contact ahu...@apache.org.