Reduce technical debt 79/29879/1
authorPamela Dragosh <pdragosh@research.att.com>
Wed, 31 Jan 2018 18:55:59 +0000 (13:55 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 31 Jan 2018 18:56:06 +0000 (13:56 -0500)
commit7206d21ac469fefb18b5d5fe570771f2442aeedb
tree880972165d6dec38e25eb7b32dff22020c6145d6
parent9301fed7c290f52208922f780fdfe4b5a880b5aa
Reduce technical debt

The last for technical debt I believe. The last try-with-resources I dare to
fix. Useless import that I missed last time. Did a couple of minor
reductions in cyclomatic complexity that I think are harmless.
And lastly introduce a new variable instead of reusing a parameter.

Issue-ID: POLICY-482
Change-Id: I5f2e5abbdd472496b48cf12e485fc9b4d903f35a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
POLICY-SDK-APP/src/main/java/org/onap/policy/admin/PolicyManagerServlet.java
POLICY-SDK-APP/src/main/java/org/onap/policy/admin/PolicyNotificationMail.java
POLICY-SDK-APP/src/main/java/org/onap/policy/utils/UserUtils.java