Fix final 10 vulnerabilities in policy/engine
[policy/engine.git] / ONAP-PAP-REST / src / main / java / org / onap / policy / pap / xacml / rest / controller / ClosedLoopDictionaryController.java
index 2b05567..5d28c82 100644 (file)
@@ -89,7 +89,7 @@ public class ClosedLoopDictionaryController{
        }
 
        private DictionaryUtils getDictionaryUtilsInstance(){
-               return DictionaryUtils.dictionaryUtils != null ? DictionaryUtils.getDictionaryUtils() : new DictionaryUtils();
+               return DictionaryUtils.getDictionaryUtils();
        }
        
        @RequestMapping(value={"/get_VSCLActionDataByName"}, method={RequestMethod.GET} , produces=MediaType.APPLICATION_JSON_VALUE)