mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
修复 sa-token-jakarta-servlet 模块代码警告
This commit is contained in:
parent
14131bdaf2
commit
9a8917f88e
@ -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();
|
||||
|
@ -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;
|
@ -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;
|
Loading…
Reference in New Issue
Block a user