Skip to content

Commit

Permalink
Fix spotbugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
conniey committed Sep 4, 2020
1 parent 1c164d8 commit be888bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class LockRenewalOperation implements AutoCloseable {
Objects.requireNonNull(maxLockRenewalDuration, "'maxLockRenewalDuration' cannot be null.");

if (maxLockRenewalDuration.isNegative()) {
throw logger.logThrowableAsError(new IllegalArgumentException(
throw logger.logExceptionAsError(new IllegalArgumentException(
"'maxLockRenewalDuration' cannot be negative."));
}

Expand Down

0 comments on commit be888bd

Please sign in to comment.