diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-07-28 06:39:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-07-28 06:39:10 +0000 |
commit | 50868dbb81c8de3d38545cc197b66298a6a7d592 (patch) | |
tree | 401942ab5eb796d08c66d69519722048635c29a6 /ms | |
parent | bad2adb8f02c0bf5174e959630a211543dfffbd8 (diff) | |
parent | a021db8db891639072592ffb9729c8cead791981 (diff) |
Merge "Fix NullpointerException in ErrorCatalogLoadPropertyService" into frankfurt
Diffstat (limited to 'ms')
-rw-r--r-- | ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt b/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt index ca7d72b50..df13724c6 100644 --- a/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt +++ b/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt @@ -140,7 +140,7 @@ open class ErrorCatalogLoadPropertyService(private var errorCatalogProperties: E log.error("Application ID: ${errorCatalogProperties.applicationId} > Fail to load property file " + "'$propertyFileName' for message errors.") } finally { - inputStream!!.close() + inputStream?.close() } return props } |