From: Pamela Dragosh Date: Mon, 29 Jan 2018 16:59:40 +0000 (-0500) Subject: Reduce technical debt X-Git-Tag: v1.2.0~177 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b65e96826d7339ce29ddb73e3ed6775bd4f54753;hp=b65e96826d7339ce29ddb73e3ed6775bd4f54753;p=policy%2Fengine.git 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 ---