Reduce technical debt

Focusing on easy try-with-resources changes. Plus some other minor items.
I did not get all of them yet, as some have some heavy refactoring. These
try-with-resources seem to be fairly harmless.

* Utilize try-with-resources
* Remove unnecessary parenthesis
* Merging simple if statements
* Remove useless assignment
* Moving string literals to left hand side

Issue-ID: POLICY-482
Change-Id: If519ec8ea96f6b90bf82ac2676ffea9cd0cd2daf
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
17 files changed
tree: de19c06846e0b1acb5095647a16848431f92a349
  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