From 3549cf48dbfbbeab92fbeafef2c526461b6ebab2 Mon Sep 17 00:00:00 2001 From: Les Hazlewood <121180+lhazlewood@users.noreply.github.com> Date: Mon, 23 Jul 2018 15:53:54 -0400 Subject: [PATCH] 285: added throws clause and updated javadoc --- api/src/main/java/io/jsonwebtoken/io/Base64.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/io/jsonwebtoken/io/Base64.java b/api/src/main/java/io/jsonwebtoken/io/Base64.java index 1b325812..53293b86 100644 --- a/api/src/main/java/io/jsonwebtoken/io/Base64.java +++ b/api/src/main/java/io/jsonwebtoken/io/Base64.java @@ -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. null 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;