projects
/
debian
/
openrocket
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates for 0.9.4
[debian/openrocket]
/
src
/
net
/
sf
/
openrocket
/
util
/
Base64.java
diff --git
a/src/net/sf/openrocket/util/Base64.java
b/src/net/sf/openrocket/util/Base64.java
index fb8490a799b5052abc3253310455cb94ca3c8670..042d36715d41840522a586db27f4011055a18873 100644
(file)
--- a/
src/net/sf/openrocket/util/Base64.java
+++ b/
src/net/sf/openrocket/util/Base64.java
@@
-16,6
+16,18
@@
public class Base64 {
'w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/'
};
private static final char PAD = '=';
'w','x','y','z','0','1','2','3','4','5','6','7','8','9','+','/'
};
private static final char PAD = '=';
+
+// private static final byte[] REVERSE;
+// static {
+// REVERSE = new byte[128];
+// Arrays.fill(REVERSE, (byte)-1);
+// for (int i=0; i<64; i++) {
+// REVERSE[ALPHABET[i]] = (byte)i;
+// }
+// REVERSE['-'] = 62;
+// REVERSE['_'] = 63;
+// REVERSE[PAD] = 0;
+// }
private static final Map<Character,Integer> REVERSE = new HashMap<Character,Integer>();
static {
private static final Map<Character,Integer> REVERSE = new HashMap<Character,Integer>();
static {