aboutsummaryrefslogtreecommitdiffstats
path: root/common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-01-04 12:11:32 -0500
committerJim Hahn <jrh3@att.com>2021-01-04 17:32:12 -0500
commitf9add40e0d87baff4ed56529bc61c31a577dc93d (patch)
treed1be521c0f4e84c8fd6a75b196b7f372c87aa38b /common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java
parent5f1b1162d047d2a743f1ce57cc17494a6150c75c (diff)
Update junits for Validation
The Validation code was previously refactored. Added/updated junits correspondingly. Issue-ID: POLICY-2648 Change-Id: I570c0ec692ecfcb6e69ada45f7997f6e63735ea0 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java')
-rw-r--r--common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java b/common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java
index 9095bfd0..6a641a17 100644
--- a/common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java
+++ b/common-parameters/src/main/java/org/onap/policy/common/parameters/ValueValidator.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-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.
@@ -37,12 +37,6 @@ import org.onap.policy.common.parameters.annotations.NotNull;
public class ValueValidator {
/**
- * {@code True} if there is a field-level annotation, {@code false} otherwise.
- */
- @Setter(AccessLevel.PROTECTED)
- private boolean fieldIsAnnotated = false;
-
- /**
* {@code True} if the value is allowed to be {@code null}, {@code false} otherwise.
* Subclasses are expected to set this, typically based on the validation annotations
* associated with the value.