google / google/error-prone

Ctor annotated with @AssistedInject reported as unused

Open
#3,174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

Building Gerrit with Bazel@Head reporting most if ctors annotated with `@AssistedInject` as unused.

To reproduce, clone https://gerrit.googlesource.com/gerrit recursively and run with Bazel@HEAD: `$ bazeldev build release`.

This related change: [1] that added `@SuppressWarnings("UnusedMethod")` to affected ctors.

[1] https://gerrit-review.googlesource.com/c/gerrit/+/335734

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.