Merge "RefControl: Fix log statement"

This commit is contained in:
Edwin Kempin
2020-02-17 10:28:45 +00:00
committed by Gerrit Code Review

View File

@@ -388,8 +388,8 @@ class RefControl {
private boolean canPerform(String permissionName, boolean isChangeOwner, boolean withForce) {
if (isBlocked(permissionName, isChangeOwner, withForce)) {
logger.atFine().log(
"'%s' cannot perform '%s' with force=%s on project '%s' for ref '%s' (caller: %s)"
+ " because this permission is blocked",
"'%s' cannot perform '%s' with force=%s on project '%s' for ref '%s'"
+ " because this permission is blocked (caller: %s)",
getUser().getLoggableName(),
permissionName,
withForce,