Skip to content

Commit

Permalink
chore(jsoup): remove useless Document type from method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Jun 3, 2024
1 parent 4ae15eb commit 5451637
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
import io.cryostat.core.templates.Template;
import io.cryostat.core.templates.TemplateType;

import org.jsoup.nodes.Document;

public interface CryostatFlightRecorderService extends IFlightRecorderService {

IRecordingDescriptor start(
Expand All @@ -56,9 +54,9 @@ default IRecordingDescriptor start(
return start(recordingOptions, eventTemplate.getName(), eventTemplate.getType());
}

default IRecordingDescriptor start(IConstrainedMap<String> recordingOptions, Document template)
default IRecordingDescriptor start(IConstrainedMap<String> recordingOptions, String template)
throws FlightRecorderException, ParseException, IOException {
XMLModel model = EventConfiguration.createModel(template.toString());
XMLModel model = EventConfiguration.createModel(template);
IConstrainedMap<EventOptionID> eventOptions =
new EventConfiguration(model)
.getEventOptions(getDefaultEventOptions().emptyWithSameConstraints());
Expand Down

0 comments on commit 5451637

Please sign in to comment.