Logger will call toString() if needed, remove the explicit call.
Change-Id: I169e98bc7a04390f56503666782ac1bdb7413b61
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Map<Gace, String> gaceVersions = new HashMap<>();
for (Artifact artifact : artifacts) {
- LOG.debug("Artifact to be installed: {}", artifact.toString());
+ LOG.debug("Artifact to be installed: {}", artifact);
Gace gace = new Gace(artifact);
String duplicate = gaceVersions.putIfAbsent(gace, artifact.getVersion());
if (duplicate != null && !duplicate.equals(artifact.getVersion())) {