Skip to content

Commit

Permalink
Fix MaxLineLength violation in IgnoredReturnValue rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Schwarz committed Jan 28, 2022
1 parent 90ae9ec commit 5e8f827
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -61,10 +61,10 @@ class IgnoredReturnValue(config: Config = Config.empty) : Rule(config) {

@Configuration(
"List of function signatures which should be ignored by this rule. " +
"Specifying fully-qualified function signature with name only (i.e. `java.time.LocalDate.now`) will ignore " +
"all function calls matching the name. Specifying fully-qualified function signature with parameters" +
"(i.e. `java.time.LocalDate.now(java.time.Clock)`) will ignore only function calls matching the name " +
"and parameters exactly."
"Specifying fully-qualified function signature with name only (i.e. `java.time.LocalDate.now`) will " +
"ignore all function calls matching the name. Specifying fully-qualified function signature with " +
"parameters (i.e. `java.time.LocalDate.now(java.time.Clock)`) will ignore only function calls matching " +
"the name and parameters exactly."
)
private val ignoreFunctionCall: List<FunctionMatcher> by config(emptyList<String>()) {
it.map(FunctionMatcher::fromFunctionSignature)
Expand Down

0 comments on commit 5e8f827

Please sign in to comment.