diff options
author | pkaras <piotr.karas@nokia.com> | 2018-12-19 14:03:16 +0100 |
---|---|---|
committer | pkaras <piotr.karas@nokia.com> | 2018-12-19 14:03:16 +0100 |
commit | 64ad9f0277fe870871cf0bca6048dfd32339b653 (patch) | |
tree | e78e2cf48b44b4faecce4db490b2198e1ca88291 /auth/auth-certman/src/main/java/org | |
parent | 52c89c9940544c1b2db1dd1e0ce9b22e2fcdca42 (diff) |
CertmanValidator junits
Change-Id: I915bc10f29578751816a58f64bfa0db5e838480b
Issue-ID: AAF-679
Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'auth/auth-certman/src/main/java/org')
-rw-r--r-- | auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/validation/CertmanValidator.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/validation/CertmanValidator.java b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/validation/CertmanValidator.java index 1a27b41f..bb157a2e 100644 --- a/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/validation/CertmanValidator.java +++ b/auth/auth-certman/src/main/java/org/onap/aaf/auth/cm/validation/CertmanValidator.java @@ -78,22 +78,6 @@ public class CertmanValidator extends Validator{ return this; } - public CertmanValidator artisKeys(List<ArtiDAO.Data> list, int min) { - if (list==null) { - msg(ARTIFACT_LIST_IS_NULL); - } else { - if (list.size()<min) { - msg(ARTIFACTS_MUST_HAVE_AT_LEAST + min + ENTR + (min==1?Y:IES)); - } else { - for (ArtiDAO.Data a : list) { - keys(a); - } - } - } - return this; - } - - public CertmanValidator keys(ArtiDAO.Data add) { if (add==null) { msg("Artifact is null."); |