Skip to content

Commit

Permalink
[FIXED JENKINS-24434] fix trim() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Dec 19, 2014
1 parent b40e35f commit a05085c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ private void addToHelperMap(FoundFailureCause cause) {

@Override
public ConsoleAnnotator annotate(Object context, MarkupText text) {
AnnotationHelper match = helperMap.get(text.getText().trim());
AnnotationHelper match = helperMap.get(text.getText().replace("\n", "").replace("\r", ""));
if (match != null) {
text.wrapBy(match.getBefore(), match.getAfter());
}
Expand Down

0 comments on commit a05085c

Please sign in to comment.