From ea317372413753320db681efb9a1e469c3776f42 Mon Sep 17 00:00:00 2001 From: RossC Date: Thu, 7 May 2020 13:25:34 +0100 Subject: Unit tests for various classes Issue-ID: POLICY-1916 Change-Id: Ie7cafa16ce12ca542a4e76307caddb36b7753990 Signed-off-by: RossC --- .../src/main/java/org/onap/policy/apex/tools/common/OutputFile.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tools/tools-common/src/main') diff --git a/tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/OutputFile.java b/tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/OutputFile.java index 59d15d19d..5b386861a 100644 --- a/tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/OutputFile.java +++ b/tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/OutputFile.java @@ -1,6 +1,7 @@ /*- * ============LICENSE_START======================================================= * Copyright (C) 2016-2018 Ericsson. All rights reserved. + * Modifications Copyright (c) 2020 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -116,10 +117,6 @@ public class OutputFile { * @return null on success, an error message on error */ public String validate() { - if (StringUtils.isBlank(fileName)) { - return "file name was blank"; - } - final File file = toFile(); if (file.exists()) { if (!overwrite) { -- cgit 1.2.3-korg