【新增】优化部分代码风格

This commit is contained in:
zhougang
2024-05-28 15:09:01 +08:00
parent 5bc0190194
commit 5f278ac23b
5 changed files with 26 additions and 43 deletions

View File

@ -23,10 +23,6 @@ public class CacheRequestBodyWrapper extends HttpServletRequestWrapper {
*/
private final byte[] body;
public byte[] getBody() {
return body;
}
public CacheRequestBodyWrapper(HttpServletRequest request) {
super(request);
body = ServletUtils.getBodyBytes(request);