Skip to content

Commit

Permalink
Update to Error Prone 2.27.1 (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar authored May 17, 2024
1 parent e0d5c6b commit f4c4734
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:
epVersion: 2.10.0
- os: macos-latest
java: 11
epVersion: 2.26.1
epVersion: 2.27.1
- os: ubuntu-latest
java: 11
epVersion: 2.26.1
epVersion: 2.27.1
- os: windows-latest
java: 11
epVersion: 2.26.1
epVersion: 2.27.1
- os: ubuntu-latest
java: 17
epVersion: 2.26.1
epVersion: 2.27.1
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
with:
arguments: codeCoverageReport
continue-on-error: true
if: runner.os == 'Linux' && matrix.java == '11' && matrix.epVersion == '2.26.1' && github.repository == 'uber/NullAway'
if: runner.os == 'Linux' && matrix.java == '11' && matrix.epVersion == '2.27.1' && github.repository == 'uber/NullAway'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import org.gradle.util.VersionNumber
// The oldest version of Error Prone that we support running on
def oldestErrorProneVersion = "2.10.0"
// Latest released Error Prone version that we've tested with
def latestErrorProneVersion = "2.26.1"
def latestErrorProneVersion = "2.27.1"
// Default to using latest tested Error Prone version
def defaultErrorProneVersion = latestErrorProneVersion
def errorProneVersionToCompileAgainst = defaultErrorProneVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public <R, D> R accept(TreeVisitor<R, D> visitor, D data) {

@Override
public MethodInvocationNode visitMethodInvocation(MethodInvocationTree tree, Void p) {
MethodInvocationNode originalNode = super.visitMethodInvocation(tree, p);
MethodInvocationNode originalNode = super.visitMethodInvocation(tree, null);
return handler.onCFGBuildPhase1AfterVisitMethodInvocation(this, tree, originalNode);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public Void visitReturn(ReturnTree returnTree, Void unused) {
returnState,
null));
}
return super.visitReturn(returnTree, unused);
return super.visitReturn(returnTree, null);
}
}.scan(state.getPath(), null);
}
Expand Down

0 comments on commit f4c4734

Please sign in to comment.