Merge branch 'stable-2.15'

* stable-2.15:
  GitDownloadCommand: Use Logger's built-in string formatting

Change-Id: I2d30fac015a43657fd10c91095896390563b40e5
diff --git a/src/main/java/com/googlesource/gerrit/plugins/download/command/GitDownloadCommand.java b/src/main/java/com/googlesource/gerrit/plugins/download/command/GitDownloadCommand.java
index b5062f6..301abeb 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/download/command/GitDownloadCommand.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/download/command/GitDownloadCommand.java
@@ -106,15 +106,15 @@
         if (id != null) {
           return id.name();
         }
-        log.error(String.format("Cannot resolve ref %s in project %s.", ref, project));
+        log.error("Cannot resolve ref {} in project {}", ref, project);
         return null;
       }
       return ref;
     } catch (RepositoryNotFoundException e) {
-      log.error(String.format("Missing project: %s", project), e);
+      log.error("Missing project: {}", project, e);
       return null;
     } catch (IOException e) {
-      log.error(String.format("Failed to lookup project %s from cache.", project), e);
+      log.error("Failed to lookup project {} from cache", project, e);
       return null;
     }
   }