From d7d87dc3a647e924bcf0e05e60c18f70cba3ed7b Mon Sep 17 00:00:00 2001
From: Piotr Borelowski
Date: Tue, 18 Jun 2019 16:08:08 +0200
Subject: Added unit tests for AbstractPropertyConstraint
Improved the unit test coverage in the package
org.openecomp.sdc.be.model.tosca.constraints
Issue-ID: SDC-2327
Signed-off-by: Piotr Borelowski
Signed-off-by: Krystian Kedron
Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228
---
.../src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'catalog-model/src/main/java/org')
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java
index 04b6874f93..da1b3c4ce8 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java
@@ -163,7 +163,7 @@ public enum ToscaType {
case BOOLEAN:
return Boolean.valueOf(value);
case FLOAT:
- return Double.valueOf(value);
+ return Float.valueOf(value);
case INTEGER:
return Long.valueOf(value);
case TIMESTAMP:
--
cgit 1.2.3-korg