diff options
author | 2018-09-24 12:36:28 +0530 | |
---|---|---|
committer | 2018-09-24 12:36:28 +0530 | |
commit | d50329d39901f18a7f410f0df3dc943d5180ea66 (patch) | |
tree | 6288b3e058518fb198f6e8f5ce4563125bd26a6c /vnfmarket-be/vnf-sdk-marketplace/src | |
parent | ec5e47d58ebbc95d56ea98d84ca2fc2290b4b398 (diff) |
Fix the File manager to pick the correct handler
Issue-ID: VNFSDK-304
Change-Id: Ife3d5814114d7e88af23a26b20b06432fbffe599
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'vnfmarket-be/vnf-sdk-marketplace/src')
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/filemanage/FileManagerFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/filemanage/FileManagerFactory.java b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/filemanage/FileManagerFactory.java index b23bcac4..e35e0fe0 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/filemanage/FileManagerFactory.java +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/java/org/onap/vnfsdk/marketplace/filemanage/FileManagerFactory.java @@ -48,7 +48,7 @@ public class FileManagerFactory { private static FileManagerType getType() { String type = System.getenv("useFtp"); logger.info("read environment varibale uesFtp:" + type); - if (type != null && "true".equals(type)) { + if ((type != null) && "true".equals(type)) { return FileManagerType.ftp; } else { return FileManagerType.http; |