cache: remove http-api dependency

This was only for the xtea client, which we don't use anymore anyway. Instead allow XteaKeyManager to read from an input stream.
This commit is contained in:
Adam
2021-12-22 15:46:18 -05:00
parent b6e17cd15e
commit 9349ea84bb
5 changed files with 47 additions and 26 deletions

View File

@@ -65,7 +65,6 @@ public class MapDumperTest
File base = StoreLocation.LOCATION,
outDir = folder.newFolder();
XteaKeyManager keyManager = new XteaKeyManager();
keyManager.loadKeys();
try (Store store = new Store(base))
{
@@ -121,7 +120,6 @@ public class MapDumperTest
Storage storage = store.getStorage();
Index index = store.getIndex(IndexType.MAPS);
XteaKeyManager keyManager = new XteaKeyManager();
keyManager.loadKeys();
for (int i = 0; i < MAX_REGIONS; ++i)
{