File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/springframework/data/repository/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public WrapperType getWrapperType() {
6060 public Object convert (Object source ) {
6161
6262 if (source instanceof io .vavr .collection .Seq ) {
63- return ((io .vavr .collection .Seq <?>) source ).toJavaList ();
63+ return ((io .vavr .collection .Seq <?>) source ).asJava ();
6464 }
6565
6666 if (source instanceof io .vavr .collection .Map ) {
@@ -71,7 +71,7 @@ public Object convert(Object source) {
7171 return ((io .vavr .collection .Set <?>) source ).toJavaSet ();
7272 }
7373
74- throw new IllegalArgumentException ("Unsupported Javaslang collection " + source .getClass ());
74+ throw new IllegalArgumentException ("Unsupported Vavr collection " + source .getClass ());
7575 }
7676 }
7777
You can’t perform that action at this time.
0 commit comments