Skip to content
Snippets Groups Projects
Verified Commit 7058017a authored by Timm Fitschen's avatar Timm Fitschen
Browse files

STY: formatting

parent 677ddf35
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,8 @@
*/
package caosdb.server.caching;
import caosdb.server.CaosDBServer;
import caosdb.server.ServerProperties;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
......@@ -34,8 +36,6 @@ import org.apache.commons.jcs.JCS;
import org.apache.commons.jcs.access.behavior.ICacheAccess;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import caosdb.server.CaosDBServer;
import caosdb.server.ServerProperties;
/**
* A CacheHelper implementation which is configured statically via the {@link
......@@ -88,7 +88,7 @@ public class JCSCacheHelper implements CacheHelper {
}
logger.info("Configuring JCS Caching with {}", config);
}
// If the JCS config is updated/reset, it has to be shut down before.
JCS.shutdown();
JCS.setConfigProperties(config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment