Skip to content
Permalink
Browse files
fix: prevent unchecked warnings in gax-httpjson (#1306)
  • Loading branch information
miraleung committed Feb 18, 2021
1 parent a8d3a2d commit ee370f62c5d411738a9b25cf4cfc095aa06d9e07
@@ -75,6 +75,7 @@ ApiMessageHttpRequestFormatter.Builder<RequestT> newBuilder() {
return new ApiMessageHttpRequestFormatter.Builder<>();
}

@SuppressWarnings("unchecked")
@Override
public Map<String, List<String>> getQueryParamNames(RequestT apiMessage) {
Set<String> paramNames = getQueryParamNames();
@@ -50,7 +50,7 @@
public abstract String getHttpMethod();

public static <RequestT, ResponseT> Builder<RequestT, ResponseT> newBuilder() {
return new AutoValue_ApiMethodDescriptor.Builder();
return new AutoValue_ApiMethodDescriptor.Builder<RequestT, ResponseT>();
}

@AutoValue.Builder

0 comments on commit ee370f6

Please sign in to comment.