Fix some sonar issues in sli/northbound

*Replace type specification with diamond operator
This is done to reduce the verbosity of generics code
*Replace ("") with ('') in String.lastIndexOf()
This is more efficient for single character
*Remove temp variable which is immediately returned
New variable is not necessary as the caller cannot see this

Issue-Id: CCSDK-87
Change-Id: I353652de723a624935d819b2bc817b4907af98ed
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
1 file changed
tree: f34363a77176c6ad2ef3a1bb00f465c3e516d503
  1. asdcApi/
  2. dataChange/
  3. dmaap-listener/
  4. ueb-listener/
  5. .gitignore
  6. LICENSE.txt
  7. pom.xml
  8. README.md
  9. version.properties
README.md

This source repository contains the code for the SDN Controller northbound interface adaptors. To compile this code:

  1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains references to the OpenECOMP repositories and OpenDaylight repositories. See example-settings.xml for an example.

  2. To compile, run "mvn clean install".