Skip to content

Commit 40c764f

Browse files
author
David Grieve
committed
fix formatting
1 parent 421c00b commit 40c764f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jfr-connection/src/main/java/io/opentelemetry/contrib/jfr/connection/FlightRecorderDiagnosticCommandConnection.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ private static Object[] formOptions(
165165
//
166166
private String getRecordingParam(long recordingId) throws JfrConnectionException, IOException {
167167
try {
168-
Object[] params = new String[]{};
169-
String jfrCheck = (String) mBeanServerConnection.invoke(objectName, "jfrCheck", params, signature);
168+
Object[] params = new String[] {};
169+
String jfrCheck =
170+
(String) mBeanServerConnection.invoke(objectName, "jfrCheck", params, signature);
170171
Matcher matcher = JFR_CHECK_PATTERN.matcher(jfrCheck);
171172
while (matcher.find()) {
172173
String id = matcher.group(2);
@@ -181,7 +182,6 @@ private String getRecordingParam(long recordingId) throws JfrConnectionException
181182
getClass(),
182183
"jfrCheck",
183184
new IllegalStateException("No recording found for id: '" + recordingId + "'"));
184-
185185
}
186186

187187
@Override

0 commit comments

Comments
 (0)