aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2018-09-08 13:27:27 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-08 13:27:27 +0000
commited51ed0f7f1f479e394634de9ffb0778de4ea307 (patch)
tree4c0193300315de29c1304e90385398f0d5e82797 /main
parent905324b15dd1a3e80397d514aa22873703d8f239 (diff)
parent6279d12fc01c4ded32bca030d82b58d3d786864b (diff)
Merge "Parameter Group fields must have getters"
Diffstat (limited to 'main')
-rw-r--r--main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java2
-rw-r--r--main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java b/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java
index 2df1cd47..6f6ddd81 100644
--- a/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java
+++ b/main/src/test/java/org/onap/policy/distribution/main/parameters/TestDistributionParameterGroup.java
@@ -87,7 +87,7 @@ public class TestDistributionParameterGroup {
assertEquals(CommonTestData.MY_BOOLEAN_PARAMETER_VALUE,
((DummyReceptionHandlerParameterGroup) distributionParameters
.getReceptionHandlerConfigurationParameters()
- .get(CommonTestData.RECEPTION_CONFIGURATION_PARAMETERS)).getMyBooleanParameter());
+ .get(CommonTestData.RECEPTION_CONFIGURATION_PARAMETERS)).isMyBooleanParameter());
assertEquals(CommonTestData.FORWARDER_HOST,
((DummyPolicyForwarderParameterGroup) distributionParameters.getPolicyForwarderConfigurationParameters()
.get(CommonTestData.FORWARDER_CONFIGURATION_PARAMETERS)).getHostname());
diff --git a/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java b/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java
index d452e96c..20f433d0 100644
--- a/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java
+++ b/main/src/test/java/org/onap/policy/distribution/main/testclasses/DummyReceptionHandlerParameterGroup.java
@@ -81,7 +81,7 @@ public class DummyReceptionHandlerParameterGroup extends ReceptionHandlerConfigu
return myIntegerParameter;
}
- public boolean getMyBooleanParameter() {
+ public boolean isMyBooleanParameter() {
return myBooleanParameter;
}