mirror of https://github.com/jwtk/jjwt.git
285: added throws clause and updated javadoc
This commit is contained in:
parent
fbcc9ab931
commit
3549cf48db
|
@ -217,8 +217,9 @@ final class Base64 { //final and package-protected on purpose
|
|||
*
|
||||
* @param sArr The source array. Length 0 will return an empty array. <code>null</code> will throw an exception.
|
||||
* @return The decoded array of bytes. May be of length 0.
|
||||
* @throws DecodingException on illegal input
|
||||
*/
|
||||
final byte[] decodeFast(char[] sArr) {
|
||||
final byte[] decodeFast(char[] sArr) throws DecodingException {
|
||||
|
||||
// Check special case
|
||||
int sLen = sArr != null ? sArr.length : 0;
|
||||
|
|
Loading…
Reference in New Issue