Skip to content

Commit f78793c

Browse files
committed
DATACMNS-1101 - User method invocation over reference to avoid compiler error in Eclipse.
1 parent 4a04251 commit f78793c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public String toString() {
298298
}
299299

300300
String builder = annotationCache.values().stream() //
301-
.flatMap(Optionals::toStream) //
301+
.flatMap(it -> Optionals.toStream(it)) //
302302
.map(Object::toString) //
303303
.collect(Collectors.joining(" "));
304304

0 commit comments

Comments
 (0)