summaryrefslogtreecommitdiffstats
path: root/tools/model-generator/src
diff options
context:
space:
mode:
authorpdragosh <pd1248@att.com>2022-08-03 15:31:20 -0500
committerpdragosh <pd1248@att.com>2022-08-03 15:31:27 -0500
commitf0b1bc61f2f8693264bfd25a1338c90aaed13837 (patch)
treea196e900876b8722c140b77466253bfcbf45ed74 /tools/model-generator/src
parentf3f82982bb09ba650e4eaa1214dae35dbab71d55 (diff)
Upgrade oparent 3.2.1
Issue-ID: POLICY-4211 Change-Id: I03def43ec2f027f276674af00d749018a951a05f Signed-off-by: pdragosh <pd1248@att.com>
Diffstat (limited to 'tools/model-generator/src')
-rw-r--r--tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2event/Model2JsonEventSchema.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2event/Model2JsonEventSchema.java b/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2event/Model2JsonEventSchema.java
index 46fba872b..766d78a98 100644
--- a/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2event/Model2JsonEventSchema.java
+++ b/tools/model-generator/src/main/java/org/onap/policy/apex/tools/model/generator/model2event/Model2JsonEventSchema.java
@@ -1,6 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2016-2018 Ericsson. All rights reserved.
+ * Modifications Copyright (C) 2022 AT&T Intellectual Property.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -300,7 +301,7 @@ public class Model2JsonEventSchema {
/**
* Process the state in the response.
* @param eventKeys the event keys
- * @param policies the policies to process
+ * @param policy the policy to process
*/
private void processState(final Set<AxArtifactKey> eventKeys, final AxPolicy policy) {
for (final AxState state : policy.getStateMap().values()) {
@@ -329,7 +330,8 @@ public class Model2JsonEventSchema {
/**
* Process the internal state.
* @param eventKeys the event keys
- * @param policies the policies to process
+ * @param firsState the first state
+ * @param state state
*/
private void processInternalState(final Set<AxArtifactKey> eventKeys, final String firsState, final AxState state) {
if (state.getKey().getLocalName().equals(firsState)) {