Skip to content

Commit

Permalink
Apply suggestions from code review for msg
Browse files Browse the repository at this point in the history
Co-authored-by: Chao Zhang <zhangchao6865@gmail.com>
  • Loading branch information
schalkms and chao2zhang committed Dec 27, 2021
1 parent 8668965 commit 1c5fca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NamedArguments(config: Config = Config.empty) : Rule(config) {
override val issue = Issue(
"NamedArguments",
Severity.Maintainability,
"Function invocations with have many parameters should be named.",
"Named arguments are required for function invocation with many parameters.",
Debt.FIVE_MINS
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class StringLiteralDuplication(config: Config = Config.empty) : Rule(config) {
javaClass.simpleName,
Severity.Maintainability,
"Multiple occurrences of the same string literal within a single file detected. " +
"Prefer extracting the String literal into a property or constant.",
"Prefer extracting the string literal into a property or constant.",
Debt.FIVE_MINS
)

Expand Down

0 comments on commit 1c5fca4

Please sign in to comment.