From 06d41227e6e745cf9dfbe8df2b29fd67992060da Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 18 Sep 2018 19:22:30 -0400 Subject: Fixes for oparent upgrade Clean up mariadb so that it is consistent, allow jetty to be defined by oparent, and fixes to fully support google guava upgrade. Issue-ID: POLICY-1126 Change-Id: Ic0c2fba5f6f5f1a41e53770b95861606a5b4bbe6 Signed-off-by: Pamela Dragosh --- ONAP-PDP-REST/pom.xml | 1 - .../main/java/org/onap/policy/pdp/rest/api/utils/PolicyApiUtils.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'ONAP-PDP-REST') diff --git a/ONAP-PDP-REST/pom.xml b/ONAP-PDP-REST/pom.xml index 1aed0700c..04483a16e 100644 --- a/ONAP-PDP-REST/pom.xml +++ b/ONAP-PDP-REST/pom.xml @@ -79,7 +79,6 @@ org.mariadb.jdbc mariadb-java-client - 2.1.1 postgresql diff --git a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/utils/PolicyApiUtils.java b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/utils/PolicyApiUtils.java index 197db26c1..47b6efb2a 100644 --- a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/utils/PolicyApiUtils.java +++ b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/utils/PolicyApiUtils.java @@ -48,7 +48,7 @@ public class PolicyApiUtils { LOGGER.error("The Value is empty."); return false; } else { - if (CharMatcher.ASCII.matchesAllOf((CharSequence) jsonString)) { + if (CharMatcher.ascii().matchesAllOf((CharSequence) jsonString)) { LOGGER.info("The Value does not contain ASCII Characters"); isValidForm = true; } else { -- cgit 1.2.3-korg