Merge "Fix last technical debt"
authorJorge Hernandez <jh1730@att.com>
Mon, 5 Feb 2018 21:39:47 +0000 (21:39 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 5 Feb 2018 21:39:47 +0000 (21:39 +0000)
PolicyEngineAPI/src/main/java/org/onap/policy/std/StdPolicyEngine.java

index e0a6d2d..5842d38 100644 (file)
@@ -1092,7 +1092,7 @@ public class StdPolicyEngine {
         PDPNotification notification;
         if (this.scheme.equals(NotificationScheme.MANUAL_ALL_NOTIFICATIONS)
                 || this.scheme.equals(NotificationScheme.MANUAL_NOTIFICATIONS)) {
-            if (notificationType.get(0).equals("ueb")) {
+            if ("ueb".equals(notificationType.get(0))) {
                 ManualClientEndUEB.start(pdps.get(0), notificationURLList, UNIQUEID);
                 notification = ManualClientEndUEB.result(scheme);
             } else if (notificationType.get(0).equals(DMAAP)) {