diff --git a/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java b/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java index 17775b824f66..b7f9909c1315 100644 --- a/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java +++ b/web/src/main/java/com/navercorp/pinpoint/web/scatter/ScatterData.java @@ -136,10 +136,16 @@ public Map getSortedScatterDataMap() { public long getOldestAcceptedTime() { + if (oldestAcceptedTime == Long.MAX_VALUE) { + return -1; + } return oldestAcceptedTime; } public long getLatestAcceptedTime() { + if (latestAcceptedTime == Long.MIN_VALUE) { + return -1; + } return latestAcceptedTime; }