X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ONAP-PDP-REST%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpdp%2Frest%2Fapi%2Futils%2FPolicyApiUtils.java;h=47b6efb2a315960f33a39bdddee085b2f0ab4f8c;hb=06d41227e6e745cf9dfbe8df2b29fd67992060da;hp=197db26c1cb72e78b40d5a2f80d01d2518e315fd;hpb=989ae85e3a25e059cb963a9bc293526be51273ca;p=policy%2Fengine.git 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 {