Perf4J

Trim should be applied to all comma delimited Appender values

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 0.9.9
  • Fix Version/s: 0.9.12
  • Component/s: Perf4J base
  • Labels:
    None
  • Environment:
    Windows XP
  • Number of attachments :
    0

Description

org.perf4j.log4j.GraphingStatisticsAppender appender's "TagNamesToGraph" parameter value can take multiple values that can be comma separated. However, if there are any whitespaces between the comma values then those whitespace characters are included in the parsed value.

Instead a trim() operation should be done on each of the values of the split() method call.

This should also be done in org.perf4j.log4j.JmxAttributeStatisticsAppender appender's "TagNamesToExpose" parameter.

Activity

Hide
Alex Devine added a comment -

Duplicate of http://jira.codehaus.org/browse/PERFFORJ-23 . Has been fixed in trunk and latest snapshot version.

Show
Alex Devine added a comment - Duplicate of http://jira.codehaus.org/browse/PERFFORJ-23 . Has been fixed in trunk and latest snapshot version.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: