diff options
author | Jorge Hernandez <jh1730@att.com> | 2018-07-13 14:02:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-13 14:02:26 +0000 |
commit | 7fbb46185166f2699b624cd2616c6fdd74ef4832 (patch) | |
tree | 2c0ae4591299f242e8d90d98588901b796cd9c44 /context | |
parent | 92eb2fc652a408819b27a3209bedda23db96bda4 (diff) | |
parent | cb768ce12516415276ee370112a837014cb8c37c (diff) |
Merge "Adding Benchmark module"
Diffstat (limited to 'context')
-rw-r--r-- | context/context-test-utils/src/main/java/org/onap/policy/apex/context/test/utils/Constants.java | 7 |
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() {} |