diff --git a/ContentGrabbingJi-core/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreBuilder.java b/ContentGrabbingJi-core/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreBuilder.java index af82ad7..4f4a516 100644 --- a/ContentGrabbingJi-core/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreBuilder.java +++ b/ContentGrabbingJi-core/src/main/java/net/lamgc/cgj/bot/cache/CacheStoreBuilder.java @@ -52,9 +52,9 @@ public class CacheStoreBuilder { if (FACTORY_LIST.size() != 0) { return; } - final ServiceLoader FACTORY_LOADER = ServiceLoader.load(CacheStoreFactory.class); + final ServiceLoader factoryLoader = ServiceLoader.load(CacheStoreFactory.class); try { - for (CacheStoreFactory factory : FACTORY_LOADER) { + for (CacheStoreFactory factory : factoryLoader) { FactoryInfo info; try { info = new FactoryInfo(factory.getClass());