Merge "RuleBase: Fix typos"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/RuleBase.java b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/RuleBase.java
index 38e0788..cd9c2b9 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/RuleBase.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/its/base/workflow/RuleBase.java
@@ -148,16 +148,12 @@
if (!globalRuleFile.exists() && !itsSpecificRuleFile.exists()) {
try {
log.warn(
- "Neither global rule file "
- + globalRuleFile.getCanonicalPath()
- + " nor Its specific rule file"
- + itsSpecificRuleFile.getCanonicalPath()
- + " exist. Please configure "
- + "rules.");
+ "Neither global rule file {} nor Its specific rule file {} exist. Please configure rules.",
+ globalRuleFile.getCanonicalPath(),
+ itsSpecificRuleFile.getCanonicalPath());
} catch (IOException e) {
log.warn(
- "Neither global rule file nor Its specific rule files exist. "
- + "Please configure rules.");
+ "Neither global rule file nor Its specific rule files exist. Please configure rules.");
}
}
}