Address items deprecated by move to java 11 08/100208/4
authorJim Hahn <jrh3@att.com>
Fri, 10 Jan 2020 16:30:21 +0000 (11:30 -0500)
committerJim Hahn <jrh3@att.com>
Fri, 10 Jan 2020 19:44:58 +0000 (14:44 -0500)
commit1f049a441ac4efc63fb9671107649d6106f02f7c
treee9964640a0a65c015a9c7b5a4f8a48a674f52133
parent613946040a9e49bed487b5946f925bb6f22c5ee8
Address items deprecated by move to java 11

Addressed the following deprecated items:
- "new Integer(xxx)"
- Observable/Observer
- Mockito.anyObject()

Added assertion to a junit test to address a sonar issue.

Did not address deprecated Nashorn javascript interpreter; that will be
done in a separate review.

Updated licenses.

Issue-ID: POLICY-1406
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I81fd158f831e01d5410d79898ced658285787d47
integrity-monitor/src/main/java/org/onap/policy/common/im/StateChangeNotifier.java
integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java
integrity-monitor/src/test/java/org/onap/policy/common/im/StateManagementTest.java
utils-test/src/test/java/org/onap/policy/common/utils/gson/GsonTestUtilsTest.java
utils/src/test/java/org/onap/policy/common/utils/validation/TestParameterValidationUtils.java