diff --git a/src/main/java/io/cryostat/recordings/RecordingHelper.java b/src/main/java/io/cryostat/recordings/RecordingHelper.java index fef3a5c7d..d549fac9a 100644 --- a/src/main/java/io/cryostat/recordings/RecordingHelper.java +++ b/src/main/java/io/cryostat/recordings/RecordingHelper.java @@ -75,7 +75,6 @@ import jakarta.ws.rs.core.Response; import jakarta.ws.rs.core.Response.ResponseBuilder; import jdk.jfr.RecordingState; -import org.apache.commons.codec.binary.Base32; import org.apache.commons.codec.binary.Base64; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.tuple.Pair; @@ -123,8 +122,6 @@ public class RecordingHelper { @Inject Clock clock; @Inject S3Presigner presigner; - @Inject Base32 base32; - @Inject @Named(Producers.BASE64_URL) Base64 base64Url; @@ -570,10 +567,6 @@ private Optional getArchivedRecordingMetadata(String storageKey) { } } - String decodeBase32(String encoded) { - return new String(base32.decode(encoded), StandardCharsets.UTF_8); - } - String decodeBase64(String encoded) { return new String(base64Url.decode(encoded), StandardCharsets.UTF_8); }