From 2ba3f2d470c68c3301cdfb6a43daa42178ca68b2 Mon Sep 17 00:00:00 2001 From: mmillson Date: Fri, 6 Dec 2024 05:21:28 -0500 Subject: [PATCH] Documentation. --- src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java b/src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java index 4deba022..736be2a3 100644 --- a/src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java +++ b/src/main/java/org/eclipselabs/garbagecat/dao/JvmDao.java @@ -59,8 +59,14 @@ */ public class JvmDao { + /** + * Used for sorting logging events. + */ private static final Comparator COMPARE_BY_TIMESTAMP = comparing(LogEvent::getTimestamp); + /** + * Used for sorting safepoint statistics by total time, in reverse order. + */ private static final Comparator> COMPARE_BY_SUM = // new Comparator>() {