aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main/java
diff options
context:
space:
mode:
authorPiotr Borelowski <p.borelowski@partner.samsung.com>2019-06-18 16:08:08 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-08-06 08:54:15 +0000
commitd7d87dc3a647e924bcf0e05e60c18f70cba3ed7b (patch)
tree8e837beffd25f3412d53fe7025b644ff1b12f8ec /catalog-model/src/main/java
parent4f088f2a33d9202238eab9fbc78b4eb7510d1438 (diff)
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 <p.borelowski@partner.samsung.com> Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I094ab463cc010ecd48e062a1a806b3b907223228
Diffstat (limited to 'catalog-model/src/main/java')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/ToscaType.java2
1 files changed, 1 insertions, 1 deletions
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: