forked from I2P_Developers/i2p.i2p
sanity checking
This commit is contained in:
@@ -142,7 +142,7 @@ public class Base64 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
test();
|
//test();
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
help();
|
help();
|
||||||
return;
|
return;
|
||||||
@@ -399,6 +399,7 @@ public class Base64 {
|
|||||||
* replacing / with ~, and + with -
|
* replacing / with ~, and + with -
|
||||||
*/
|
*/
|
||||||
private static byte[] safeDecode(String source, boolean useStandardAlphabet) {
|
private static byte[] safeDecode(String source, boolean useStandardAlphabet) {
|
||||||
|
if (source == null) return null;
|
||||||
String toDecode = null;
|
String toDecode = null;
|
||||||
if (useStandardAlphabet) {
|
if (useStandardAlphabet) {
|
||||||
toDecode = source;
|
toDecode = source;
|
||||||
|
Reference in New Issue
Block a user