Skip to content

Commit

Permalink
Decrease TooManyParameters default limit from 10 to 9.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 424105092
  • Loading branch information
kluever authored and Error Prone Team committed Jan 25, 2022
1 parent c2e14f2 commit 3f61879
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class TooManyParameters extends BugChecker implements MethodTreeMatcher {
// https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/46317.pdf
// However, we have chosen a very conservative starting number, with hopes to decrease this in the
// future.
private static final int DEFAULT_LIMIT = 10;
private static final int DEFAULT_LIMIT = 9;

static final String TOO_MANY_PARAMETERS_FLAG_NAME = "TooManyParameters:ParameterLimit";

Expand Down

0 comments on commit 3f61879

Please sign in to comment.