Skip to content

Commit

Permalink
Remove useless GlobalLockName (#34132)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Dec 24, 2024
1 parent a01e7ef commit 972eabd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ public final class GlobalLockDefinition implements LockDefinition {

private final String lockKey;

public GlobalLockDefinition(final GlobalLockName lockName, final Object... lockParams) {
lockKey = String.format(KEY_PATTERN, String.format(lockName.getLockName(), lockParams));
}

public GlobalLockDefinition(final GlobalLock globalLock) {
lockKey = String.format(KEY_PATTERN, globalLock.getName());
}
Expand Down

This file was deleted.

0 comments on commit 972eabd

Please sign in to comment.