summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java
index 539b6b8536..0fcaf7afe3 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CsarValidationUtils.java
@@ -67,7 +67,7 @@ public class CsarValidationUtils {
private static final String FILE_NOT_FOUND_IN_CSAR_WITH_ID = " file not found in CSAR with id ";
private static final String CSAR_STRUCTURE_IS_INVALID = "CSAR structure is invalid";
private static final String ENTRY_DEFINITIONS = "Entry-Definitions ";
- private static final Pattern floatPattern = Pattern.compile("^\\d{1}[.]\\d{1}$");
+ private static final Pattern floatPattern = Pattern.compile("^\\d+\\.\\d+$");
/**
* Utility classes, which are collections of static members, are not meant to be instantiated