Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
jedediah committed Feb 7, 2017
1 parent c06e44f commit 0562d80
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import tc.oc.api.minecraft.users.UserStore;
import tc.oc.api.model.NullModelService;
import tc.oc.api.users.UserService;
import tc.oc.api.util.UUIDs;
import tc.oc.commons.core.stream.Collectors;
import tc.oc.minecraft.api.entity.Player;

Expand All @@ -44,7 +43,7 @@ public UpdateMapsResponse updateMaps(Collection<? extends MapDoc> maps) {
maps.stream()
.flatMap(MapDoc::authorAndContributorUuids)
.distinct()
.collect(Collectors.mappingTo(uuid -> (ListenableFuture) userService.find(() -> UUIDs.normalize(uuid))))
.collect(Collectors.mappingTo(uuid -> (ListenableFuture) userService.find(uuid::toString)))
);
}
}

0 comments on commit 0562d80

Please sign in to comment.