Merge pull request #439 from weloe/dev

update: 增加Override注解
This commit is contained in:
click33 2023-05-06 02:16:37 +08:00 committed by GitHub
commit a4c02ecb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,7 @@ public class SaRequestForServlet implements SaRequest {
* 返回当前请求的urlhttp://xxx.com/test
* @return see note
*/
@Override
public String getUrl() {
String currDomain = SaManager.getConfig().getCurrDomain();
if(SaFoxUtil.isEmpty(currDomain) == false) {

View File

@ -57,6 +57,7 @@ public class SaResponseForServlet implements SaResponse {
* @param value
* @return 对象自身
*/
@Override
public SaResponse addHeader(String name, String value) {
response.addHeader(name, value);
return this;