diff options
Diffstat (limited to 'catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java')
-rw-r--r-- | catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java index 417beea5fe..e906f58828 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/converters/ToscaFloatConverter.java @@ -17,20 +17,19 @@ * limitations under the License. * ============LICENSE_END========================================================= */ - package org.openecomp.sdc.be.model.tosca.converters; -import org.apache.commons.lang.StringUtils; -import org.openecomp.sdc.be.model.DataTypeDefinition; - import java.math.BigDecimal; import java.util.Map; +import org.apache.commons.lang.StringUtils; +import org.openecomp.sdc.be.model.DataTypeDefinition; public class ToscaFloatConverter implements PropertyValueConverter { private static ToscaFloatConverter numberConverter = new ToscaFloatConverter(); - private ToscaFloatConverter() {} + private ToscaFloatConverter() { + } public static ToscaFloatConverter getInstance() { return numberConverter; @@ -47,5 +46,4 @@ public class ToscaFloatConverter implements PropertyValueConverter { } return new BigDecimal(convertedValue).toPlainString(); } - } |