📁 pre-commit

Signed-off-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
This commit is contained in:
stirlingbot[bot] 2025-04-28 00:15:46 +00:00 committed by GitHub
parent 0b81dfdf7c
commit 4fa280303d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -141,7 +141,7 @@ public class UserBasedRateLimitingFilter extends OncePerRequestFilter {
.build(); .build();
return Bucket.builder().addLimit(limit).build(); return Bucket.builder().addLimit(limit).build();
} }
private static String stripNewlines(final String s) { private static String stripNewlines(final String s) {
return s.replaceAll("[\n\r]", ""); return s.replaceAll("[\n\r]", "");
} }