🎨 代码结构优化

This commit is contained in:
ronger 2020-03-30 10:35:03 +08:00
parent 70e243664c
commit 659c1b7166
3 changed files with 2 additions and 3 deletions

View File

@ -100,7 +100,7 @@ public class BaiDuUtils {
},executor);
}
public static void main(){
public static void main(String[] args){
sendUpdateSEOData("https://rymcu.com");
}
}

View File

@ -92,6 +92,6 @@ public class SpringContextHolder implements ApplicationContextAware, DisposableB
* 检查ApplicationContext不为空.
*/
private static void assertContextInjected() {
Validate.validState(applicationContext != null, "applicaitonContext属性未注入, 请在applicationContext.xml中定义SpringContextHolder.");
Validate.validState(applicationContext != null, "application Context属性未注入, 请在applicationContext.xml中定义SpringContextHolder.");
}
}

View File

@ -2,7 +2,6 @@ package com.rymcu.vertical.web.api.comment;
import com.rymcu.vertical.core.result.GlobalResult;
import com.rymcu.vertical.core.result.GlobalResultGenerator;
import com.rymcu.vertical.dto.ArticleDTO;
import com.rymcu.vertical.entity.Comment;
import com.rymcu.vertical.service.CommentService;
import com.rymcu.vertical.web.api.exception.BaseApiException;