summaryrefslogtreecommitdiffstats
path: root/utils-test/src/main
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-05-07 15:35:55 -0400
committerJim Hahn <jrh3@att.com>2021-05-07 15:42:10 -0400
commitc7d24b07377cb00ce4c0c531c6d3dff25e04dc12 (patch)
treea1c32b52d2d92321745824e6d4fe29fb441a5835 /utils-test/src/main
parent1d0aaaa5b31719c1718700bb0d1a99c413fd513c (diff)
Change java.util.regex to re2j
Sonar complains about java.util.regex. Thought I used re2j when creating all of the patterns, but apparently not. Fixed that oversight. Issue-ID: POLICY-3284 Change-Id: Idbec112ab0d4c3b477ce357f8a556d95e4dea083 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'utils-test/src/main')
-rw-r--r--utils-test/src/main/java/org/onap/policy/common/utils/test/log/logback/ExtractAppender.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils-test/src/main/java/org/onap/policy/common/utils/test/log/logback/ExtractAppender.java b/utils-test/src/main/java/org/onap/policy/common/utils/test/log/logback/ExtractAppender.java
index 887cec9b..27d9fcc6 100644
--- a/utils-test/src/main/java/org/onap/policy/common/utils/test/log/logback/ExtractAppender.java
+++ b/utils-test/src/main/java/org/onap/policy/common/utils/test/log/logback/ExtractAppender.java
@@ -22,13 +22,13 @@ package org.onap.policy.common.utils.test.log.logback;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.AppenderBase;
+import com.google.re2j.Matcher;
+import com.google.re2j.Pattern;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
/**
* This is an appender that is intended for use by JUnit tests that wish to