summaryrefslogtreecommitdiffstats
path: root/policy-management/src/main
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-02-01 15:05:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-01 15:05:17 +0000
commit382b47d6d25bfded95e7d1547ca6bb373c733ca9 (patch)
tree198ee629e006ab6f3c3abfedfd114c8f43362592 /policy-management/src/main
parentda7f8f0e3f1259d540ba45618e23f1856ae34e9c (diff)
parentaa69a4db58140af6a605cadd3b8e6166f59d97ad (diff)
Merge "junits+utils to generate/test rules applications"
Diffstat (limited to 'policy-management/src/main')
-rw-r--r--policy-management/src/main/java/org/onap/policy/drools/controller/DroolsControllerFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsControllerFactory.java b/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsControllerFactory.java
index 31b7cec7..0b9f9887 100644
--- a/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsControllerFactory.java
+++ b/policy-management/src/main/java/org/onap/policy/drools/controller/DroolsControllerFactory.java
@@ -212,7 +212,7 @@ class IndexedDroolsControllerFactory implements DroolsControllerFactory {
List<TopicCoderFilterConfiguration>
topics2DecodedClasses2Filters = new ArrayList<>();
- if (topicEntities.isEmpty())
+ if (topicEntities == null || topicEntities.isEmpty())
return topics2DecodedClasses2Filters;
for (Topic topic: topicEntities) {