Merge "Sonar: logging arguments should not require evaluation"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraItsFacade.java b/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraItsFacade.java
index e572a02..09ca956 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraItsFacade.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraItsFacade.java
@@ -111,10 +111,10 @@
private void doPerformAction(final String issueKey, final String actionName)
throws IOException, InvalidTransitionException {
- log.debug("Trying to perform action: " + actionName + " on issue " + issueKey);
+ log.debug("Trying to perform action: {} on issue {}", actionName, issueKey);
boolean ret = client().doTransition(issueKey, actionName);
if (ret) {
- log.debug("Action " + actionName + " successful on Issue " + issueKey);
+ log.debug("Action {} successful on Issue {}", actionName, issueKey);
} else {
log.debug("Action {} on Issue {} not possible", actionName, issueKey);
}