Fixes for oparent upgrade
[policy/engine.git] / ONAP-PDP-REST / src / main / java / org / onap / policy / pdp / rest / api / utils / PolicyApiUtils.java
index 197db26..47b6efb 100644 (file)
@@ -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 {