From f269d5d8333b695eb7de7b7d8f2c0c291a2d1731 Mon Sep 17 00:00:00 2001 From: Edgar Asatryan Date: Sat, 9 Apr 2022 01:41:18 +0400 Subject: [PATCH] Remove unused constructor. --- src/main/java/io/github/nstdio/http/ext/DiskCache.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/io/github/nstdio/http/ext/DiskCache.java b/src/main/java/io/github/nstdio/http/ext/DiskCache.java index 31ccb65..75d32de 100644 --- a/src/main/java/io/github/nstdio/http/ext/DiskCache.java +++ b/src/main/java/io/github/nstdio/http/ext/DiskCache.java @@ -42,10 +42,6 @@ class DiskCache extends SizeConstrainedCache { private final Executor executor; private final Path dir; - DiskCache(Path dir) { - this(-1, 1 << 13, new JacksonMetadataSerializer(), new SimpleStreamFactory(), dir); - } - DiskCache(long maxBytes, int maxItems, MetadataSerializer metadataSerializer, StreamFactory streamFactory, Path dir) { super(maxItems, maxBytes, null); addEvictionListener(this::deleteQuietly);