summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-os
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2018-08-21 22:32:37 +0530
committerArundathi Patil <arundpil@in.ibm.com>2018-08-24 08:39:03 +0000
commit08def403ebf02ac7dc7b5565c46423e3cc994026 (patch)
tree38a569ee15a49116f5adb8f3b8dd042f9b2e067d /ecomp-portal-BE-os
parentc7684e595461b70b09d0d9ff15b5ad23aeabebc9 (diff)
TicketEventServiceImpl : Fixed sonar issue
Fixed below sonar issue at line 52, Immediately return this expression instead of assigning it to the temporary variable 'hyperlink' Issue-ID: PORTAL-364 Change-Id: I33b854b15e163146415040bf98dbd7e992d04b61 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-os')
-rw-r--r--ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/service/TicketEventServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/service/TicketEventServiceImpl.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/service/TicketEventServiceImpl.java
index 5dba0b21..71c2b1ea 100644
--- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/service/TicketEventServiceImpl.java
+++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/portal/service/TicketEventServiceImpl.java
@@ -3,6 +3,8 @@
* ONAP Portal
* ===================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2018 IBM.
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
@@ -49,8 +51,6 @@ public class TicketEventServiceImpl implements TicketEventService{
@Override
public String getNotificationHyperLink(JsonNode application, String ticket, String eventSource) {
- String hyperlink = SystemProperties.getProperty(EPCommonSystemProperties.EXTERNAL_SYSTEM_NOTIFICATION_URL)+ticket;
- return hyperlink;
+ return (SystemProperties.getProperty(EPCommonSystemProperties.EXTERNAL_SYSTEM_NOTIFICATION_URL)+ticket);
}
-
}