修复 sa-token-jakarta-servlet 模块代码警告

This commit is contained in:
click33 2023-05-16 02:28:15 +08:00
parent 14131bdaf2
commit 9a8917f88e
3 changed files with 7 additions and 7 deletions

View File

@ -134,7 +134,7 @@ public class SaRequestForServlet implements SaRequest {
@Override
public String getUrl() {
String currDomain = SaManager.getConfig().getCurrDomain();
if(SaFoxUtil.isEmpty(currDomain) == false) {
if( ! SaFoxUtil.isEmpty(currDomain)) {
return currDomain + this.getRequestPath();
}
return request.getRequestURL().toString();

View File

@ -1,6 +1,3 @@
/**
* Sa-Token对接ServletAPI容器所需要的实现类接口包
*/
/*
* Copyright 2020-2099 sa-token.cc
*
@ -16,4 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Sa-Token对接 Jakarta-Servlet API 容器所需要的实现类接口包
*/
package cn.dev33.satoken.servlet;

View File

@ -1,6 +1,3 @@
/**
* Sa-Token对接ServletAPI容器所需要的实现类接口包
*/
/*
* Copyright 2020-2099 sa-token.cc
*
@ -16,4 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Sa-Token对接 Servlet API 容器所需要的实现类接口包
*/
package cn.dev33.satoken.servlet;