aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tools-common/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tools-common/src/main')
-rw-r--r--tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/OutputFile.java5
1 files changed, 1 insertions, 4 deletions
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) {