Skip to content

Commit

Permalink
Use log format strings
Browse files Browse the repository at this point in the history
Part of apache#435 and Bugzilla Id: 62972


git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1847978 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: cb56c49
  • Loading branch information
FSchumacher committed Dec 2, 2018
1 parent 105db4c commit 13d1dfe
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -58,7 +58,7 @@ public static LinkExtractorParser getParser(String parserClassName)
// Is there a cached parser?
LinkExtractorParser parser = PARSERS.get(parserClassName);
if (parser != null) {
LOG.debug("Fetched " + parserClassName);
LOG.debug("Fetched {}", parserClassName);
return parser;
}

Expand All @@ -72,7 +72,7 @@ public static LinkExtractorParser getParser(String parserClassName)
} catch (IllegalArgumentException | ReflectiveOperationException | SecurityException e) {
throw new LinkExtractorParseException(e);
}
LOG.info("Created " + parserClassName);
LOG.info("Created {}", parserClassName);
if (parser.isReusable()) {
LinkExtractorParser currentParser = PARSERS.putIfAbsent(
parserClassName, parser);// cache the parser if not already
Expand Down

0 comments on commit 13d1dfe

Please sign in to comment.