From 75571d63fd1815f720626cbeee1a2821e3212464 Mon Sep 17 00:00:00 2001 From: Zadat Olayinka Date: Wed, 14 Apr 2021 07:40:13 +0100 Subject: [PATCH] reverse array list --- java-sdk/src/main/java/io/hackerbay/fyipe/Util.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java b/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java index 2caebae9be..ad45e2690c 100644 --- a/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java +++ b/java-sdk/src/main/java/io/hackerbay/fyipe/Util.java @@ -6,10 +6,8 @@ import io.hackerbay.fyipe.model.TrackerOption; import io.hackerbay.fyipe.util.FileReader; import java.net.URL; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.UUID; +import java.util.*; + enum ErrorEventType { error, info, @@ -65,6 +63,9 @@ public class Util { ); } + // reversing the list + Collections.reverse(frameArrayList); + return frameArrayList; } private void getErrorCodeSnippet(StackTrace stackTrace) {