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() {
60
60
public Object convert (Object source ) {
61
61
62
62
if (source instanceof io .vavr .collection .Seq ) {
63
- return ((io .vavr .collection .Seq <?>) source ).toJavaList ();
63
+ return ((io .vavr .collection .Seq <?>) source ).asJava ();
64
64
}
65
65
66
66
if (source instanceof io .vavr .collection .Map ) {
@@ -71,7 +71,7 @@ public Object convert(Object source) {
71
71
return ((io .vavr .collection .Set <?>) source ).toJavaSet ();
72
72
}
73
73
74
- throw new IllegalArgumentException ("Unsupported Javaslang collection " + source .getClass ());
74
+ throw new IllegalArgumentException ("Unsupported Vavr collection " + source .getClass ());
75
75
}
76
76
}
77
77
You can’t perform that action at this time.
0 commit comments