Skip to content

"Did you mean to..." hint messages contain repeated text #1126

@dpursehouse

Description

@dpursehouse

Please answer these questions before submitting your issue. Thanks!

What version of Error Prone are you using?

Not sure. Whatever is bundled with bazel version 0.17.2

Does this issue reproduce with the latest release?

Have not tried

What did you do?

Clone JGit and build from commit https://github.com/eclipse/jgit/commit/7d89f0a053f32e0ba6d0384cf73a70ce99190821

with the command:

bazel build --java_toolchain //tools:error_prone_warnings_toolchain //...

What did you expect to see?

Various warnings are expected because we haven't been using error-prone regularly on this project.

What did you see instead?

There are warnings about misuse of ExpectedException, but the hints to fix them contain repeated text, for example:

Did you mean to remove this line or to remove this line or to remove this line?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions