Skip to content

Commit

Permalink
fix(deps): update com.google.errorprone to v2.24.0
Browse files Browse the repository at this point in the history
Fixes #6208
  • Loading branch information
renovate-bot authored and vlsi committed Dec 25, 2023
1 parent 9532a8a commit 99460c9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if (buildParameters.enableErrorprone) {
apply(plugin = "net.ltgt.errorprone")

dependencies {
"errorprone"("com.google.errorprone:error_prone_core:2.23.0")
"errorprone"("com.google.errorprone:error_prone_core:2.24.0")
"annotationProcessor"("com.google.guava:guava-beta-checker:1.0")
}

Expand Down
2 changes: 1 addition & 1 deletion src/bom-thirdparty/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {
api("com.github.weisj:darklaf-theme:2.7.3")
api("com.google.auto.service:auto-service-annotations:1.1.1")
api("com.google.auto.service:auto-service:1.1.1")
api("com.google.errorprone:error_prone_annotations:2.23.0")
api("com.google.errorprone:error_prone_annotations:2.24.0")
api("com.helger.commons:ph-commons:10.2.5")
api("com.helger:ph-css:6.5.0")
api("com.jayway.jsonpath:json-path:2.8.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private static class TristateButtonModel extends ToggleButtonModel {

public TristateButtonModel(TristateState initial,
TristateCheckBox tristateCheckBox, boolean original) {
setState(TristateState.DESELECTED);
setState(initial);
this.tristateCheckBox = tristateCheckBox;
icon = new TristateCheckBoxIcon();
this.original = original;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,17 @@ public void tearDown(){
public void testMethodPass() {
try {
TimeUnit.MILLISECONDS.sleep(100);
assertEquals(10,10);
assertEquals(10,5 + 5);
} catch (InterruptedException e) {
LOGGER.warn("Exception on sleep", e);
}
}

@SuppressWarnings("TruthSelfEquals")
public void testMethodPass2() {
try {
TimeUnit.MILLISECONDS.sleep(100);
assertEquals("one","one");
assertEquals("one", "one");
} catch (InterruptedException e) {
LOGGER.warn("Exception on sleep", e);
}
Expand Down

0 comments on commit 99460c9

Please sign in to comment.