Authored by hugufei

fix bug

... ... @@ -30,10 +30,6 @@ public class EhCache implements CacheInterface {
@PostConstruct
private void init() {
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("ehcache.xml");
if (inputStream == null) {
logger.error("url is null");
return;
}
this.manager = CacheManager.create(inputStream);
this.cache = manager.getCache("yohosearch");
}
... ...