Skip to content

Commit 3643d5a

Browse files
committed
refactor: #7510 use parameterized log message
1 parent 87cacfe commit 3643d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/owasp/dependencycheck/data/central/CentralSearch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public List<MavenArtifact> searchSha1(String sha1) throws IOException, TooManyRe
143143
if (cache != null) {
144144
final List<MavenArtifact> cached = cache.get(sha1);
145145
if (cached != null) {
146-
LOGGER.debug("cache hit for Central: " + sha1);
146+
LOGGER.debug("cache hit for Central: {}", sha1);
147147
if (cached.isEmpty()) {
148148
throw new FileNotFoundException("Artifact not found in Central");
149149
}

0 commit comments

Comments
 (0)