From 35840d835f581c2d61de1c57fe9963e36eb15c9f Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 25 Feb 2020 16:10:08 +0000 Subject: Fix Java 11/Checkstyle/Sonar warnings A number of Java 11, checkstyle, and SONAR warnings have crept into the Apex codebase over the last number of reviews. This change fixes those issues. Issue-ID: POLICY-1913 Change-Id: I2afd607e80f48323355380fb2fe5e048e18879f9 Signed-off-by: liamfallon --- testsuites/integration/integration-common/pom.xml | 3 +- .../integration/integration-context-test/pom.xml | 6 +- .../context/distribution/ContextInstantiation.java | 64 +++++++++++----------- .../integration/integration-executor-test/pom.xml | 5 +- .../executor/engine/TestApexEngine.java | 11 ++-- .../executor/event/TestEventInstantiation.java | 14 ++--- .../executor/handling/TestContextUpdateModel.java | 6 +- .../integration/integration-uservice-test/pom.xml | 4 +- .../uservice/engdep/EngineTestServer.java | 17 +++--- .../engine/ApexServiceModelUpdateTest.java | 40 +++++++------- .../uservice/engine/ApexServiceTest.java | 45 +++++++-------- .../performance/performance-benchmark-test/pom.xml | 4 +- 12 files changed, 110 insertions(+), 109 deletions(-) (limited to 'testsuites') diff --git a/testsuites/integration/integration-common/pom.xml b/testsuites/integration/integration-common/pom.xml index 942c5f267..85c4fcdf5 100644 --- a/testsuites/integration/integration-common/pom.xml +++ b/testsuites/integration/integration-common/pom.xml @@ -1,6 +1,7 @@