From 444ae3cee16747aef320b8c58937a539a4d79a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= Date: Mon, 6 Mar 2023 15:01:45 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=20sonar=E3=80=91SignAuthIntercepto?= =?UTF-8?q?r=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/jero/config/sign/interceptor/SignAuthInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jero-boot/jero-boot-base/jero-boot-base-core/src/main/java/com/jero/config/sign/interceptor/SignAuthInterceptor.java b/jero-boot/jero-boot-base/jero-boot-base-core/src/main/java/com/jero/config/sign/interceptor/SignAuthInterceptor.java index 7ee3d932..c0c68ce0 100644 --- a/jero-boot/jero-boot-base/jero-boot-base-core/src/main/java/com/jero/config/sign/interceptor/SignAuthInterceptor.java +++ b/jero-boot/jero-boot-base/jero-boot-base-core/src/main/java/com/jero/config/sign/interceptor/SignAuthInterceptor.java @@ -27,7 +27,7 @@ public class SignAuthInterceptor implements HandlerInterceptor { /** * 5分钟有效期 */ - private final static long MAX_EXPIRE = 5 * 60; + private static final long MAX_EXPIRE = 5 * 60L; @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {