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

Gradle emits unchecked warnings for gax-httpjson #1305

@miraleung

Description

@miraleung
> Task :gax-httpjson:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/usr/local/google/home/miraleung/dev/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ApiMethodDescriptor.java:53: warning: [unchecked] unchecked conversion
    return new AutoValue_ApiMethodDescriptor.Builder();
           ^
  required: com.google.api.gax.httpjson.ApiMethodDescriptor.Builder<RequestT,ResponseT>
  found:    com.google.api.gax.httpjson.AutoValue_ApiMethodDescriptor.Builder
  where RequestT,ResponseT are type-variables:
    RequestT extends Object declared in method <RequestT,ResponseT>newBuilder()
    ResponseT extends Object declared in method <RequestT,ResponseT>newBuilder()
/usr/local/google/home/miraleung/dev/gax-java/gax-httpjson/src/main/java/com/google/api/gax/httpjson/ApiMessageHttpRequestFormatter.java:91: warning: [unchecked] unchecked cast
        for (Object val : (List<Object>) paramValue) {
                                         ^
  required: List<Object>
  found:    Object
2 warnings

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions