From 6aa3d443485f2b879fd1ebef4506c90183d69395 Mon Sep 17 00:00:00 2001 From: Abhai Singh Date: Thu, 4 Jan 2018 11:51:25 +0530 Subject: Fix Sonar ManifestCreatorNamingConventionImpl Fixed reported sonar issue Change-Id: I723be3b861df1106c3039a1368f4f20fe4acfcd0 Issue-ID: SDC-343 Signed-off-by: Abhai Singh --- .../ManifestCreatorNamingConventionImpl.java | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-vendor-software-product-lib') diff --git a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/ManifestCreatorNamingConventionImpl.java b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/ManifestCreatorNamingConventionImpl.java index ce18097701..9b93023d51 100644 --- a/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/ManifestCreatorNamingConventionImpl.java +++ b/openecomp-be/lib/openecomp-sdc-vendor-software-product-lib/openecomp-sdc-vendor-software-product-core/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/services/impl/filedatastructuremodule/ManifestCreatorNamingConventionImpl.java @@ -1,21 +1,17 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ +/* + * Copyright © 2016-2017 European Support Limited + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * ============LICENSE_END========================================================= */ package org.openecomp.sdc.vendorsoftwareproduct.services.impl.filedatastructuremodule; @@ -150,10 +146,6 @@ public class ManifestCreatorNamingConventionImpl implements ManifestCreator { return fileDataList; } - private boolean doesHeatTemplateVersionExist(byte[] value) { - return false; - } - private boolean isFileModuleFile(String fileName, Collection filesCannotBeModule) { return !filesCannotBeModule.contains(fileName); } -- cgit 1.2.3-korg