From bcf6584813a2a2f40d3f72ac9168da14ac4aa4cf Mon Sep 17 00:00:00 2001 From: chewiebug Date: Tue, 17 Sep 2019 22:48:19 +0200 Subject: [PATCH] #228 small refactoring of uptimeunit detection --- .../imp/DataReaderUnifiedJvmLogging.java | 17 +++--- .../imp/TestDataReaderUJLG1JDK12.java | 53 +++++++++++++++++++ 2 files changed, 61 insertions(+), 9 deletions(-) create mode 100644 src/test/java/com/tagtraum/perf/gcviewer/imp/TestDataReaderUJLG1JDK12.java diff --git a/src/main/java/com/tagtraum/perf/gcviewer/imp/DataReaderUnifiedJvmLogging.java b/src/main/java/com/tagtraum/perf/gcviewer/imp/DataReaderUnifiedJvmLogging.java index 706efaf6..edc973d9 100644 --- a/src/main/java/com/tagtraum/perf/gcviewer/imp/DataReaderUnifiedJvmLogging.java +++ b/src/main/java/com/tagtraum/perf/gcviewer/imp/DataReaderUnifiedJvmLogging.java @@ -59,10 +59,11 @@ public class DataReaderUnifiedJvmLogging extends AbstractDataReader { // Regex: ^(?:\[(?