From d317456f2086f6242f194f222c564d0c6deb1cb7 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Thu, 12 Sep 2024 09:45:51 -0400 Subject: [PATCH] spotless --- src/main/java/io/cryostat/diagnostic/Diagnostics.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/io/cryostat/diagnostic/Diagnostics.java b/src/main/java/io/cryostat/diagnostic/Diagnostics.java index 917d9412f..c5b922472 100644 --- a/src/main/java/io/cryostat/diagnostic/Diagnostics.java +++ b/src/main/java/io/cryostat/diagnostic/Diagnostics.java @@ -37,6 +37,7 @@ public class Diagnostics { public void gc(@RestPath long targetId) { targetConnectionManager.executeConnectedTask( Target.getTargetById(targetId), - conn -> conn.invokeMBeanOperation("java.lang:type=Memory", "gc", null, null, Void.class)); + conn -> + conn.invokeMBeanOperation( } }