Skip to content

Commit 3f61879

Browse files
klueverError Prone Team
authored and
Error Prone Team
committed
Decrease TooManyParameters default limit from 10 to 9.
PiperOrigin-RevId: 424105092
1 parent c2e14f2 commit 3f61879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/google/errorprone/bugpatterns/TooManyParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class TooManyParameters extends BugChecker implements MethodTreeMatcher {
5050
// https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/46317.pdf
5151
// However, we have chosen a very conservative starting number, with hopes to decrease this in the
5252
// future.
53-
private static final int DEFAULT_LIMIT = 10;
53+
private static final int DEFAULT_LIMIT = 9;
5454

5555
static final String TOO_MANY_PARAMETERS_FLAG_NAME = "TooManyParameters:ParameterLimit";
5656

0 commit comments

Comments
 (0)