GUACAMOLE-1298: Declare default request size limit constant as static.

This commit is contained in:
Michael Jumper
2021-02-26 13:21:27 -08:00
parent 32b10ec4bd
commit d131468cf3

View File

@@ -55,7 +55,7 @@ public class RequestSizeFilter implements ContainerRequestFilter {
* The default maximum number of bytes to accept within the entity body of
* any particular REST request.
*/
private final long DEFAULT_MAX_REQUEST_SIZE = 2097152;
private static final long DEFAULT_MAX_REQUEST_SIZE = 2097152;
/**
* The maximum number of bytes to accept within the entity body of any