diff options
author | Luck <git@lucko.me> | 2021-11-10 09:00:24 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2021-11-10 09:00:24 +0000 |
commit | c9f20a06d002567ca4d4b24c446c0ab384d8f79d (patch) | |
tree | b9d5fc52599ca0aca7c46aa22ecd30c6e0c33b49 /spark-common | |
parent | fe578229bf7e77b522eda8737374c2f26b30c24b (diff) | |
download | spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.gz spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.tar.bz2 spark-c9f20a06d002567ca4d4b24c446c0ab384d8f79d.zip |
Fix java compile configuration
Diffstat (limited to 'spark-common')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/command/modules/GcMonitoringModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/command/modules/GcMonitoringModule.java b/spark-common/src/main/java/me/lucko/spark/common/command/modules/GcMonitoringModule.java index 8e2d199..88d4169 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/command/modules/GcMonitoringModule.java +++ b/spark-common/src/main/java/me/lucko/spark/common/command/modules/GcMonitoringModule.java @@ -129,7 +129,7 @@ public class GcMonitoringModule implements CommandModule { ); } - if (report.size() == 1) { + if (collectorStats.isEmpty()) { resp.replyPrefixed(text("No garbage collectors are reporting data.")); } else { report.forEach(resp::reply); |