diff options
Diffstat (limited to 'policy-endpoints')
-rw-r--r-- | policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestClientParameters.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestClientParameters.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestClientParameters.java index e23b29e7..5d02e753 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestClientParameters.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/parameters/RestClientParameters.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2021 Nordix Foundation. + * Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +42,7 @@ public class RestClientParameters extends BusTopicParams implements ParameterGro @Override public BeanValidationResult validate() { - BeanValidationResult result = new BeanValidationResult(getClientName(), this); + var result = new BeanValidationResult(getClientName(), this); if (isHostnameInvalid()) { result.addResult("hostname", getHostname(), ValidationStatus.INVALID, MSG_IS_BLANK); } |