mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-12-15 22:50:47 +00:00
[Change] CacheStoreCentral 调整代码以为后续更改做准备;
[Change] BotCommandProcess, ImageCacheHandler, PreLoadDataComparator, RandomRankingArtworksSender 适配CacheStoreCentral的更改;
This commit is contained in:
@ -80,7 +80,7 @@ public class ImageCacheHandler implements EventHandler {
|
||||
);
|
||||
bufferInputStream.reset();
|
||||
Streams.copy(bufferInputStream, fileOutputStream, false);
|
||||
CacheStoreCentral.setImageChecksum(imageChecksum);
|
||||
CacheStoreCentral.getCentral().setImageChecksum(imageChecksum);
|
||||
} catch (IOException e) {
|
||||
log.error("下载图片时发生异常", e);
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user