Navigation Menu

Skip to content

Commit

Permalink
Upgrade errorprone dependency to 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo authored and ejona86 committed Dec 30, 2019
1 parent e161d0c commit a737e04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Expand Up @@ -15,7 +15,7 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install( maven_install(
artifacts = [ artifacts = [
"junit:junit:4.12", "junit:junit:4.12",
"com.google.errorprone:error_prone_annotations:2.3.3", "com.google.errorprone:error_prone_annotations:2.3.4",
"com.google.code.findbugs:jsr305:3.0.2", "com.google.code.findbugs:jsr305:3.0.2",
"com.google.code.gson:gson:2.8.6", "com.google.code.gson:gson:2.8.6",
"com.google.truth:truth:1.0", "com.google.truth:truth:1.0",
Expand Down
Expand Up @@ -151,7 +151,7 @@ public void visitSource(String sourceFileName, String debug) {
public MethodVisitor visitMethod( public MethodVisitor visitMethod(
int access, String name, String descriptor, String signature, String[] exceptions) { int access, String name, String descriptor, String signature, String[] exceptions) {
clinitSeen = clinitSeen || name.equals("<clinit>"); clinitSeen = clinitSeen || name.equals("<clinit>");
return new PerfMarkMethodVisitor( return new PerfMarkClassReader.PerfMarkMethodVisitor(
super.visitMethod(access, name, descriptor, signature, exceptions), name); super.visitMethod(access, name, descriptor, signature, exceptions), name);
} }


Expand Down Expand Up @@ -257,7 +257,7 @@ static final class PerfMarkMethodRewriter extends ClassVisitor {
@Override @Override
public MethodVisitor visitMethod( public MethodVisitor visitMethod(
int access, String name, String descriptor, String signature, String[] exceptions) { int access, String name, String descriptor, String signature, String[] exceptions) {
return new PerfMarkMethodVisitor( return new PerfMarkMethodRewriter.PerfMarkMethodVisitor(
perfmarkClassReader.api(), perfmarkClassReader.api(),
super.visitMethod(access, name, descriptor, signature, exceptions), super.visitMethod(access, name, descriptor, signature, exceptions),
name); name);
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -123,7 +123,7 @@ subprojects {


if (rootProject.properties.get('errorProne', true)) { if (rootProject.properties.get('errorProne', true)) {
dependencies { dependencies {
errorprone 'com.google.errorprone:error_prone_core:2.3.3' errorprone 'com.google.errorprone:error_prone_core:2.3.4'
errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1' errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
} }
} else { } else {
Expand All @@ -144,7 +144,7 @@ subprojects {


ext { ext {
libraries = [ libraries = [
errorprone: 'com.google.errorprone:error_prone_annotations:2.3.3', errorprone: 'com.google.errorprone:error_prone_annotations:2.3.4',
jsr305: 'com.google.code.findbugs:jsr305:3.0.2', jsr305: 'com.google.code.findbugs:jsr305:3.0.2',
gson: 'com.google.code.gson:gson:2.8.6', gson: 'com.google.code.gson:gson:2.8.6',
truth: 'com.google.truth:truth:1.0' truth: 'com.google.truth:truth:1.0'
Expand Down

0 comments on commit a737e04

Please sign in to comment.