Fix technical debt and reduce lines

Focused on iterating over entrySet along with more fixes for
dead stores, unnecessary exceptions. I'm also starting to work
on reducing the number of code lines.

* Iterate using entrySet
* Remove useless assignments
* Unnecessary exceptions
* Use StringBuilder instead of StringBuffer due to synchronization
* Potential null exceptions being thrown
* Returning a empty collection vs null

Issue-ID: POLICY-482
Change-Id: If6ac8e812237f37b2b10c534535df4090a5073dd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
9 files changed
tree: 3cce5097dc94fcc40ff59c57e2a3287946f72271
  1. BRMSGateway/
  2. docs/
  3. LogParser/
  4. ONAP-PAP-REST/
  5. ONAP-PDP/
  6. ONAP-PDP-REST/
  7. ONAP-REST/
  8. ONAP-SDK-APP/
  9. ONAP-XACML/
  10. packages/
  11. POLICY-SDK-APP/
  12. PolicyEngineAPI/
  13. PolicyEngineClient/
  14. PolicyEngineUtils/
  15. project-configs/
  16. .gitattributes
  17. .gitignore
  18. .gitreview
  19. LICENSE.txt
  20. pom.xml
  21. README.md
  22. version.properties
README.md

This source repository contains the ONAP Policy Engine code. To build it:

  1. using Maven 3
  2. git clone http://gerrit.onap.org/r/oparent and copy oparent/settings.xml to ~/.m2
  3. mvn clean install