Skip to content

Commit

Permalink
Update maxBodySize type in RequestAnalyzerConfig to match usage in Tr…
Browse files Browse the repository at this point in the history
…inoQueryProperties
  • Loading branch information
willmostly committed Oct 2, 2024
1 parent 02b2b03 commit 131228b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

public class RequestAnalyzerConfig
{
private Integer maxBodySize = 1_000_000;
private int maxBodySize = 1_000_000;

private boolean isClientsUseV2Format;
private String tokenUserField = "email";
Expand All @@ -26,13 +26,13 @@ public class RequestAnalyzerConfig

public RequestAnalyzerConfig() {}

public Integer getMaxBodySize()
public int getMaxBodySize()
{
return maxBodySize;
}

@Max(Integer.MAX_VALUE)
public void setMaxBodySize(Integer maxBodySize)
public void setMaxBodySize(int maxBodySize)
{
this.maxBodySize = maxBodySize;
}
Expand Down

0 comments on commit 131228b

Please sign in to comment.