Some minor refinements in CCSDK SLI Core module

Fix few Critical/Major sonar issues in CCSDK SLI Core module
* Define and throw a dedicated exception instead of using a generic one
* Either log or rethrow the exception
* Change "try" to a try-with-resources
* Remove useless assignment to local variable
* Use built-in logger method string formatting instead of string concatination
* code indentation

Change-Id: I83dc1fb931b8021118e259c722f7dfbc1621dce8
Issue-Id: CCSDK-67
Signed-off-by: Ramu N <ramu.n@huawei.com>
1 file changed
tree: 04240920c7d498463b4d46de59d479619c7f2f9e
  1. dblib/
  2. filters/
  3. sli/
  4. sliapi/
  5. sliPluginUtils/
  6. src/
  7. utils/
  8. .gitignore
  9. LICENSE.txt
  10. pom.xml
  11. README.md
  12. version.properties
README.md

This source repository contains the code for the core SDN Controller components. To compile this code:

  1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains references to the ONAP repositories and OpenDaylight repositories.

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