make AbstractCacheBuilder.getConfig abstract
@@ -14,12 +14,7 @@ public abstract class AbstractCacheBuilder<T extends AbstractCacheBuilder<T>> im
protected CacheConfig config;
private Function<CacheConfig, Cache> buildFunc;
- public CacheConfig getConfig() {
- if (config == null) {
- config = new CacheConfig();
- }
- return config;
- }
+ public abstract CacheConfig getConfig();
protected T self() {
return (T) this;
