Code changes needed to resolve openjdk17 issues
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / inbounds / designer-api / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / designer / api / load / ModelTypeLoadService.kt
index e96daf9..5206e36 100644 (file)
@@ -98,7 +98,7 @@ open class ModelTypeLoadService(private val modelTypeHandler: ModelTypeHandler)
                 deferred.awaitAll()
             }
 
-            if (!errorBuilder.isEmpty) {
+            if (!errorBuilder.isEmpty()) {
                 log.error(errorBuilder.toString())
             }
         } catch (e: Exception) {