diff --git a/src/main/java/io/cryostat/recordings/RecordingHelper.java b/src/main/java/io/cryostat/recordings/RecordingHelper.java index 22700195f..eaf21026b 100644 --- a/src/main/java/io/cryostat/recordings/RecordingHelper.java +++ b/src/main/java/io/cryostat/recordings/RecordingHelper.java @@ -35,8 +35,6 @@ import java.util.Map; import java.util.Objects; import java.util.Optional; -import java.util.concurrent.ScheduledExecutorService; -import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -71,7 +69,6 @@ import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.inject.Named; -import jakarta.persistence.EntityManager; import jakarta.ws.rs.BadRequestException; import jakarta.ws.rs.ServerErrorException; import jakarta.ws.rs.core.Response; @@ -100,7 +97,6 @@ import software.amazon.awssdk.services.s3.model.Tag; import software.amazon.awssdk.services.s3.model.Tagging; import software.amazon.awssdk.services.s3.model.UploadPartRequest; -import software.amazon.awssdk.services.s3.presigner.S3Presigner; @ApplicationScoped public class RecordingHelper { @@ -112,15 +108,12 @@ public class RecordingHelper { public static final String DATASOURCE_FILENAME = "cryostat-analysis.jfr"; @Inject Logger logger; - @Inject EntityManager entityManager; @Inject TargetConnectionManager connectionManager; @Inject RecordingOptionsBuilderFactory recordingOptionsBuilderFactory; @Inject EventOptionsBuilder.Factory eventOptionsBuilderFactory; - @Inject ScheduledExecutorService scheduler; @Inject EventBus bus; @Inject Clock clock; - @Inject S3Presigner presigner; @Inject @Named(Producers.BASE64_URL)