this.securityContextService = securityContextService;
}
@Override
public Optional<UserDTO> findOne(Long id) {
return userCustomRepository.findOne(id).map(r -> {
<BUG>final User currentUser = securityContextService.currentUser();

final Boolean isFollowedByMe = Optional.ofNullable(currentUser)
.map(u -> relationshipRepository</BUG>
.findOneByFollowerAndFollowed(u, r.getUser())

this.securityContextService = securityContextService;
}
@Override
public Optional<UserDTO> findOne(Long id) {
return userCustomRepository.findOne(id).map(r -> {
final Optional<User> currentUser = securityContextService.currentUser();
final Boolean isFollowedByMe = currentUser
.map(u -> relationshipRepository
.findOneByFollowerAndFollowed(u, r.getUser())
