forked from I2P_Developers/i2p.i2p
Tools: Fix installer compile fail
This commit is contained in:
@@ -24,6 +24,7 @@ import java.util.Properties;
|
|||||||
import gnu.getopt.Getopt;
|
import gnu.getopt.Getopt;
|
||||||
|
|
||||||
import net.i2p.I2PAppContext;
|
import net.i2p.I2PAppContext;
|
||||||
|
import net.i2p.data.Base64;
|
||||||
import net.i2p.data.DataFormatException;
|
import net.i2p.data.DataFormatException;
|
||||||
import net.i2p.data.Hash;
|
import net.i2p.data.Hash;
|
||||||
import net.i2p.data.router.RouterAddress;
|
import net.i2p.data.router.RouterAddress;
|
||||||
@@ -120,8 +121,8 @@ public class BundleRouterInfos {
|
|||||||
|
|
||||||
int routerCount = 0;
|
int routerCount = 0;
|
||||||
List<File> toRead = new ArrayList<File>(2048);
|
List<File> toRead = new ArrayList<File>(2048);
|
||||||
for (int j = 0; j < PersistentDataStore.B64.length(); j++) {
|
for (int j = 0; j < Base64.ALPHABET_I2P.length(); j++) {
|
||||||
File subdir = new File(dbDir, PersistentDataStore.DIR_PREFIX + PersistentDataStore.B64.charAt(j));
|
File subdir = new File(dbDir, PersistentDataStore.DIR_PREFIX + Base64.ALPHABET_I2P.charAt(j));
|
||||||
File[] files = subdir.listFiles(PersistentDataStore.RouterInfoFilter.getInstance());
|
File[] files = subdir.listFiles(PersistentDataStore.RouterInfoFilter.getInstance());
|
||||||
if (files == null)
|
if (files == null)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user