Fix sonar issues with gson code 66/78566/2
authorJim Hahn <jrh3@att.com>
Fri, 15 Feb 2019 14:50:25 +0000 (09:50 -0500)
committerJim Hahn <jrh3@att.com>
Fri, 15 Feb 2019 15:09:56 +0000 (10:09 -0500)
commit8b32784d749d4bcacfa4e8f684501559f999be07
tree23b977510359af86444b553d7189be07e404cb24
parentf10d38d4af0178d008c69ada7cd1a6abc6ec075a
Fix sonar issues with gson code

Fixed issues with GsonTestUtils:
- don't set static from within a non-static method
- don't throw generic RuntimeException
Resolved checkstyle issue.
Removed trailing spaces.

Change-Id: If0c85733f62a24b56088dc90aadd4b95b3a6c91a
Issue-ID: POLICY-1428
Signed-off-by: Jim Hahn <jrh3@att.com>
utils-test/src/main/java/org/onap/policy/common/utils/gson/GsonTestUtils.java
utils-test/src/test/java/org/onap/policy/common/utils/gson/GsonTestUtilsTest.java