Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
fix: prevent unchecked warnings in gax-httpjson (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
miraleung committed Feb 18, 2021
1 parent a8d3a2d commit ee370f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -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();
Expand Down
Expand Up @@ -50,7 +50,7 @@ public abstract class ApiMethodDescriptor<RequestT, ResponseT> {
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
Expand Down

0 comments on commit ee370f6

Please sign in to comment.