Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent ConstructorLeaksThis false positive on constructor reference #789

Closed
wants to merge 1 commit into from

Conversation

Stephan202
Copy link
Contributor

Fixes #655.

@Stephan202
Copy link
Contributor Author

Maybe somebody from the Error Prone team can find some time to review this PR? It doesn't seem too controversial :D.

@eaftan eaftan self-assigned this Feb 9, 2018
@ronshapiro ronshapiro mentioned this pull request Feb 12, 2018
ronshapiro pushed a commit that referenced this pull request Feb 12, 2018
reference

Fixes #789

RELNOTES: Fixed false positive in ConstructorLeaksThis

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185219776
@cushon cushon closed this in #933 Feb 12, 2018
cushon pushed a commit that referenced this pull request Feb 12, 2018
reference

Fixes #789

RELNOTES: Fixed false positive in ConstructorLeaksThis

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185219776
@eaftan
Copy link
Contributor

eaftan commented Feb 12, 2018

Sorry for the delay, and thank you for the contribution!

@Stephan202 Stephan202 deleted the bugfix/issue-655 branch February 12, 2018 23:37
@jbduncan
Copy link
Contributor

This PR will be of great help in junit-team/junit5#1266. :)

sebright added a commit to sebright/opencensus-java that referenced this pull request Jun 13, 2018
This commit contains several other changes as part of the upgrade:

- Use -XepAllDisabledChecksAsWarnings to enable all available warnings so
  that we don't need to enable each warning explicitly.

- Remove explicit suppression of warnings in generated code, since
  -XepDisableWarningsInGeneratedCode is now sufficient to suppress all warnings
  in AutoValue and Protocol Buffer generated classes.

- Remove a suppression of "ConstructorLeaksThis", since
  google/error-prone#789 was fixed.

- Fix a few occurrences of "FieldCanBeFinal".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants