Skip to content

Commit

Permalink
Revert "trim values when parsing the baseline (#4335)"
Browse files Browse the repository at this point in the history
This reverts commit 26fd459.
  • Loading branch information
BraisGabin committed Jan 31, 2022
1 parent a6a2614 commit bcff930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -33,8 +33,8 @@ internal class BaselineHandler : DefaultHandler() {
ID -> {
check(content.isNotBlank()) { "The content of the ID element must not be empty" }
when (current) {
MANUALLY_SUPPRESSED_ISSUES -> manuallySuppressedIssues.add(content.trim())
CURRENT_ISSUES -> currentIssues.add(content.trim())
MANUALLY_SUPPRESSED_ISSUES -> manuallySuppressedIssues.add(content)
CURRENT_ISSUES -> currentIssues.add(content)
}
content = ""
}
Expand Down
Expand Up @@ -5,8 +5,6 @@
<ID>LongMethod:Signature</ID>
</ManuallySuppressedIssues>
<CurrentIssues>
<ID>
FeatureEnvy:Signature
</ID>
<ID>FeatureEnvy:Signature</ID>
</CurrentIssues>
</SmellBaseline>

0 comments on commit bcff930

Please sign in to comment.