summaryrefslogtreecommitdiffstats
path: root/common-be/src/main
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-11-15 17:34:32 +0000
committerMichael Morris <michael.morris@est.tech>2021-11-16 11:11:36 +0000
commitddd1badb175e660c8a52120443abd57a9a3a7aa6 (patch)
tree2da712ebebc5a26920ba13ba113c798909b7d76f /common-be/src/main
parentd06b3dd32d8d1bc43a0c956aff323173cafe0c59 (diff)
Fix potential NPE
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I9138d498fce81692b286ec01b75e94e029b06c95 Issue-ID: SDC-3785
Diffstat (limited to 'common-be/src/main')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/csar/storage/StorageFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/csar/storage/StorageFactory.java b/common-be/src/main/java/org/openecomp/sdc/be/csar/storage/StorageFactory.java
index d120b3af8d..2be7b10118 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/csar/storage/StorageFactory.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/csar/storage/StorageFactory.java
@@ -85,7 +85,7 @@ public class StorageFactory {
return curr;
}
}
- return null;
+ return NONE;
}
}
}