Skip to content

Commit

Permalink
Formulate rule/performance descriptions consistently
Browse files Browse the repository at this point in the history
reference #4384
  • Loading branch information
schalkms committed Dec 27, 2021
1 parent 48a28fc commit a82c5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -47,7 +47,7 @@ class ArrayPrimitive(config: Config = Config.empty) : Rule(config) {
override val issue = Issue(
"ArrayPrimitive",
Severity.Performance,
"Using Array<Primitive> leads to implicit boxing and a performance hit",
"Using `Array<Primitive>` leads to implicit boxing and a performance hit.",
Debt.FIVE_MINS
)

Expand Down
Expand Up @@ -30,7 +30,7 @@ class UnnecessaryTemporaryInstantiation(config: Config = Config.empty) : Rule(co
override val issue: Issue = Issue(
"UnnecessaryTemporaryInstantiation",
Severity.Performance,
"Avoid temporary objects when converting primitive types to String.",
"Avoid temporary objects when converting primitive types to `String`.",
Debt.FIVE_MINS
)

Expand Down

0 comments on commit a82c5c7

Please sign in to comment.