Skip to content

Commit

Permalink
Revert "trim values when parsing the baseline (#4335)" (#4548)
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin committed Jan 31, 2022
1 parent 0b36ff0 commit 1fbe3b8
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 1fbe3b8

Please sign in to comment.