Consolidate base64 alphabet string

This commit is contained in:
zzz
2016-12-04 14:10:07 +00:00
parent 27724a809f
commit 7734d3dd65
5 changed files with 12 additions and 15 deletions

View File

@@ -59,7 +59,7 @@ public class PersistentDataStore extends TransientDataStore {
private final static int READ_DELAY = 2*60*1000;
private static final String PROP_FLAT = "router.networkDatabase.flat";
static final String DIR_PREFIX = "r";
static final String B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-~";
private static final String B64 = Base64.ALPHABET_I2P;
/**
* @param dbDir relative path

View File

@@ -45,7 +45,7 @@ class ProfilePersistenceHelper {
private static final String UNCOMPRESSED_SUFFIX = ".txt";
private static final String OLD_SUFFIX = ".dat";
private static final String DIR_PREFIX = "p";
private static final String B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-~";
private static final String B64 = Base64.ALPHABET_I2P;
/**
* If we haven't been able to get a message through to the peer in this much time,