From 32905749456bb5309ff9158f9c74043fe0c32a49 Mon Sep 17 00:00:00 2001 From: jhh Date: Thu, 28 Jan 2021 16:30:51 -0600 Subject: sonars - protected constructors and typecasting Issue-ID: POLICY-3017 Signed-off-by: jhh Change-Id: I7e7e384db26e244e2514aec3c3579b7b7f92f8a1 --- .../src/main/java/org/onap/policy/drools/policies/DomainMaker.java | 4 ++-- .../java/org/onap/policy/drools/utils/logging/LoggerMarkerFilter.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'policy-utils/src/main/java') diff --git a/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java b/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java index ae85d576..37966653 100644 --- a/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java +++ b/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java @@ -1,6 +1,6 @@ /* * ============LICENSE_START======================================================= - * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2021 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -210,7 +210,7 @@ public class DomainMaker { */ public String convertToSchema(@NonNull ToscaPolicyType policyType) { // - // TODO: + // TODO: // NOSONAR // 1. Convert Tosca Policy Type definition schema to suitable json schema. // 2. Call registerValidator to register throw new UnsupportedOperationException("schema generation from policy type is not supported"); diff --git a/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/LoggerMarkerFilter.java b/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/LoggerMarkerFilter.java index e15dae0d..b116592c 100644 --- a/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/LoggerMarkerFilter.java +++ b/policy-utils/src/main/java/org/onap/policy/drools/utils/logging/LoggerMarkerFilter.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2018, 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. @@ -33,7 +33,7 @@ public abstract class LoggerMarkerFilter extends AbstractMatcherFilter