Fix last technical debt 19/30319/1
authorPamela Dragosh <pdragosh@research.att.com>
Mon, 5 Feb 2018 17:51:51 +0000 (12:51 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Mon, 5 Feb 2018 17:51:57 +0000 (12:51 -0500)
Last one that I dare to fix.

Issue-ID: POLICY-477
Change-Id: Ieb1c159b781fa2f0dd80f7dea92dcbf72c3e8364
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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)) {