Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/error-prone
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.27.0
Choose a base ref
...
head repository: google/error-prone
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.27.1
Choose a head ref
  • 4 commits
  • 15 files changed
  • 4 contributors

Commits on Apr 30, 2024

  1. Make the logic of detecting at least one allowed usage more explicit.

    The condition `== UsageState.ALLOWED_USAGE` doesn't convey the intention to trigger the finding for allowed usage only if at the same time there is no disallowed usage.
    I'm renaming the constant to `ONLY_ALLOWED_USAGE` and adding the state transition methods to make the logic more explicit.
    
    PiperOrigin-RevId: 629340469
    java-team-github-bot authored and Error Prone Team committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    c8df502 View commit details
    Browse the repository at this point in the history
  2. Don't scan into nested enums in ClassInitializationDeadlock

    #4378
    
    PiperOrigin-RevId: 629452163
    cushon authored and Error Prone Team committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    6a8f493 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Flag comparisons of SomeEnum.valueOf(...) to null.

    (also `SomeNumber.valueOf(...)`, but that comes up very rarely, enough so that I didn't bother to explore `Boolean.valueOf` or `String.valueOf`)
    
    PiperOrigin-RevId: 629692421
    cpovirk authored and Error Prone Team committed May 1, 2024
    Configuration menu
    Copy the full SHA
    bc3309a View commit details
    Browse the repository at this point in the history
  2. Release Error Prone 2.27.1

    cushon committed May 1, 2024
    Configuration menu
    Copy the full SHA
    464bb93 View commit details
    Browse the repository at this point in the history
Loading