You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i'm reading your book and changed the version of spring to 3.1.6 with Java 17, I had this issues
'map(java.util.function.Function<? super com.killer.gamification.domain.BadgeType,? extends R>)' in 'java.util.stream.Stream' cannot be applied to '()' in the processForBadges method. Can you give me some advice?
Set alreadyGotBadges;
alreadyGotBadges = badgeRepository
.findByUserIdOrderByBadgeTimestampDesc(solvedChallenge.getUserId())
.stream()
.map(BadgeCard::getBadgeType)
.collect(Collectors.toSet());
The text was updated successfully, but these errors were encountered:
Hi, i'm reading your book and changed the version of spring to 3.1.6 with Java 17, I had this issues
'map(java.util.function.Function<? super com.killer.gamification.domain.BadgeType,? extends R>)' in 'java.util.stream.Stream' cannot be applied to '()' in the processForBadges method. Can you give me some advice?
Set alreadyGotBadges;
alreadyGotBadges = badgeRepository
.findByUserIdOrderByBadgeTimestampDesc(solvedChallenge.getUserId())
.stream()
.map(BadgeCard::getBadgeType)
.collect(Collectors.toSet());
The text was updated successfully, but these errors were encountered: