Toggle navigation
Home
com.google.common.collect.ImmutableList<GraphQlError> to com.google.common.collect.ImmutableList<com.google.api.graphql.GraphqlError>
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'rejoined'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
errors.stream().map(error -> GraphQlError.newBuilder().setMessage(error.getMessage()).setType(ERROR_TYPE_MAP.getOrDefault(error.getErrorType(),com.google.api.graphql.ErrorType.UNKNOWN)).addAllLocations(error.getLocations().stream().map(location -> SourceLocation.newBuilder().setLine(location.getLine()).setColumn(location.getColumn()).build()).collect(ImmutableList.toImmutableList())).build())
to
errors.stream().map(error -> GraphqlError.newBuilder().setMessage(error.getMessage()).setType(ERROR_TYPE_MAP.getOrDefault(error.getErrorType(),com.google.api.graphql.ErrorType.UNKNOWN)).addAllLocations(error.getLocations().stream().map(location -> SourceLocation.newBuilder().setLine(location.getLine()).setColumn(location.getColumn()).build()).collect(ImmutableList.toImmutableList())).build())