Skip to content

Commit

Permalink
Make args more concise.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvitkine committed Sep 20, 2023
1 parent 5c6180a commit 4265295
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ public static <T> T runInBackgroundAndReturn(
}

public static <T> T runInBackgroundAndReturn(
Consumer<T> runOnEdtBeforeDialogClose,
final String message,
final Supplier<T> backgroundAction)
Consumer<T> runOnEdtBeforeDialogClose, String message, Supplier<T> backgroundAction)
throws InterruptedException {
return runInBackgroundAndReturn(
message, backgroundAction::get, runOnEdtBeforeDialogClose, RuntimeException.class);
Expand Down

0 comments on commit 4265295

Please sign in to comment.