From 469ff7a0b307536f004472aa78d58b9d66e36d77 Mon Sep 17 00:00:00 2001 From: Hans Kokx Date: Tue, 29 Oct 2024 11:34:49 +0100 Subject: [PATCH] Remove unnecessary breaks in string_jwt Signed-off-by: Hans Kokx --- lib/src/extensions/string_jwt.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/src/extensions/string_jwt.dart b/lib/src/extensions/string_jwt.dart index 05de14d..f57826c 100644 --- a/lib/src/extensions/string_jwt.dart +++ b/lib/src/extensions/string_jwt.dart @@ -92,10 +92,8 @@ extension JWTUtility on String { break; case 2: output += "=="; - break; case 3: output += "="; - break; default: throw Exception('Illegal base64url string!"'); }