aboutsummaryrefslogtreecommitdiffstats
path: root/context/context-test-utils/src
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@ericsson.com>2018-07-12 12:47:09 +0100
committerwaqas.ikram <waqas.ikram@ericsson.com>2018-07-13 11:47:15 +0100
commitcb768ce12516415276ee370112a837014cb8c37c (patch)
tree3d7418e312f3a29126e19d9683a34ad420f6166d /context/context-test-utils/src
parent2e32896a4e98fe2047b2e6356d4e9d7dbd3a0252 (diff)
Adding Benchmark module
Change-Id: I4817580bf53bbf46b6890b70d49c8a2edabca749 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Diffstat (limited to 'context/context-test-utils/src')
-rw-r--r--context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java b/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java
index 2bf304ec8..79687139a 100644
--- a/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java
+++ b/context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java
@@ -56,8 +56,11 @@ public class Constants {
private static final AxArtifactKey KEY3 = new AxArtifactKey("testC-bot", VERSION);
private static final AxArtifactKey KEY2 = new AxArtifactKey("testC-next", VERSION);
- private static final AxArtifactKey[] AX_ARTIFACT_KEYS = {KEY, KEY2, KEY3};
- public static final AxArtifactKey[] USED_ARTIFACT_STACK_ARRAY = AX_ARTIFACT_KEYS;
+ public static final AxArtifactKey[] USED_ARTIFACT_STACK_ARRAY = getAxArtifactKeyArray();
+
+ private static AxArtifactKey[] getAxArtifactKeyArray() {
+ return new AxArtifactKey[] {KEY, KEY2, KEY3};
+ }
private Constants() {}