diff options
author | Luck <git@lucko.me> | 2019-08-09 20:35:26 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2019-08-09 20:35:26 +0100 |
commit | dc6968c4b56d9f04fa1b56808c298bdda77a442c (patch) | |
tree | 438189e04143ed578850cc5274fc0f6e995f8d60 /spark-common/src/main/java/me/lucko/spark/common/heapdump | |
parent | 87c818a71b7102c9a8bcbf8d125a80da599ea965 (diff) | |
download | spark-dc6968c4b56d9f04fa1b56808c298bdda77a442c.tar.gz spark-dc6968c4b56d9f04fa1b56808c298bdda77a442c.tar.bz2 spark-dc6968c4b56d9f04fa1b56808c298bdda77a442c.zip |
Codestyle changes
Diffstat (limited to 'spark-common/src/main/java/me/lucko/spark/common/heapdump')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDump.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDump.java b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDump.java index 189f89e..f2c1c72 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDump.java +++ b/spark-common/src/main/java/me/lucko/spark/common/heapdump/HeapDump.java @@ -31,9 +31,8 @@ import java.nio.file.Path; /** * Utility for creating .hprof memory heap snapshots. */ -public final class HeapDump { - - private HeapDump() {} +public enum HeapDump { + ; /** The object name of the com.sun.management.HotSpotDiagnosticMXBean */ private static final String DIAGNOSTIC_BEAN = "com.sun.management:type=HotSpotDiagnostic"; |