Addressing Technical Debt for POLICY-SDK-APP

* Using booleans true and false
* Using already predefined static strings
* Adding private constructors to hide implicit
* Adding empty constructor comment to satisfy SONAR
* Using single quotes for indexOf to use faster method
* Preferred use of .isEmpty()
* Ordering of public static synchronized syntax
* Removing commented out code
* Using an already defined constant
* Unnecessary declaration of runtime exceptions
* Unnecessary casts
* Unused variables and imports
* Unnecessary use of toString()
* Just using return vs storing into a local var and returning that
* Extra semicolons

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