[Update] 补充Javadoc, 设置@SuppressWarning注解;

This commit is contained in:
2020-04-18 01:13:01 +08:00
parent 260cfe3dd0
commit f02b0e9e98
3 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,7 @@ public class ImageCacheHandler implements EventHandler {
private final static Set<ImageCacheObject> cacheQueue = Collections.synchronizedSet(new HashSet<>());
@SuppressWarnings("unused")
public void getImageToCache(ImageCacheObject event) {
if(cacheQueue.contains(event)) {
log.info("图片 {} 已存在相同缓存任务, 跳过.", event.getStoreFile().getName());