1
1
/*
2
- * Copyright 2002-2015 the original author or authors.
2
+ * Copyright 2002-2016 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -99,7 +99,7 @@ public static byte[] decode(byte[] src) {
99
99
}
100
100
101
101
/**
102
- * Base64-encode the given byte array using the RFC 4868
102
+ * Base64-encode the given byte array using the RFC 4648
103
103
* "URL and Filename Safe Alphabet".
104
104
* @param src the original byte array (may be {@code null})
105
105
* @return the encoded byte array (or {@code null} if the input was {@code null})
@@ -113,7 +113,7 @@ public static byte[] encodeUrlSafe(byte[] src) {
113
113
}
114
114
115
115
/**
116
- * Base64-decode the given byte array using the RFC 4868
116
+ * Base64-decode the given byte array using the RFC 4648
117
117
* "URL and Filename Safe Alphabet".
118
118
* @param src the encoded byte array (may be {@code null})
119
119
* @return the original byte array (or {@code null} if the input was {@code null})
@@ -174,7 +174,7 @@ public static byte[] decodeFromString(String src) {
174
174
}
175
175
176
176
/**
177
- * Base64-encode the given byte array to a String using the RFC 4868
177
+ * Base64-encode the given byte array to a String using the RFC 4648
178
178
* "URL and Filename Safe Alphabet".
179
179
* @param src the original byte array (may be {@code null})
180
180
* @return the encoded byte array as a UTF-8 String
@@ -188,7 +188,7 @@ public static String encodeToUrlSafeString(byte[] src) {
188
188
}
189
189
190
190
/**
191
- * Base64-decode the given byte array from an UTF-8 String using the RFC 4868
191
+ * Base64-decode the given byte array from an UTF-8 String using the RFC 4648
192
192
* "URL and Filename Safe Alphabet".
193
193
* @param src the encoded UTF-8 String (may be {@code null})
194
194
* @return the original byte array (or {@code null} if the input was {@code null})
0 commit comments