Skip to content

MisformattedTestData suggested fix wraps long // BUG: Diagnostic contains: lines #6130

Description

@msridhar

For example:

-                // BUG: Diagnostic contains: Method violates has @Contract(-> !null), but this appears to be violated, as a @Nullable value may be returned when the contract preconditions are true.
+                // BUG: Diagnostic contains: Method violates has @Contract(-> !null), but this appears to be
+                // violated, as a @Nullable value may be returned when the contract preconditions are true.

This changes what gets asserted by the test, making it risky to apply the suggested fix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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