diff --git a/src/main/java/io/cryostat/agent/FlightRecorderHelper.java b/src/main/java/io/cryostat/agent/FlightRecorderHelper.java index 79048a39..374481f2 100644 --- a/src/main/java/io/cryostat/agent/FlightRecorderHelper.java +++ b/src/main/java/io/cryostat/agent/FlightRecorderHelper.java @@ -26,6 +26,8 @@ import java.util.function.Predicate; import java.util.stream.Collectors; +import io.cryostat.libcryostat.templates.TemplateType; + import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import jdk.jfr.Configuration; import jdk.jfr.FlightRecorder; @@ -173,12 +175,6 @@ public TemplateType getType() { } } - public enum TemplateType { - TARGET, - CUSTOM, - ; - } - @SuppressFBWarnings(value = "URF_UNREAD_FIELD") public static class RecordingInfo {