Catalog alignment
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / tosca / ToscaType.java
index da1b3c4..87ad621 100644 (file)
@@ -61,7 +61,7 @@ public enum ToscaType {
                return type;
        }
 
-       public ToscaType getToscaType(String typeName) {
+       public static ToscaType getToscaType(String typeName) {
                if (typeName == null) {
                        return null;
                }
@@ -220,8 +220,10 @@ public enum ToscaType {
         return name().toLowerCase();
     }
 
-       public static boolean isCollectionType(String type) {
-               return ToscaPropertyType.MAP.getType().equals(type)
-                               || ToscaPropertyType.LIST.getType().equals(type);
-       }
+    public static boolean isCollectionType(String type) {
+        return ToscaPropertyType.MAP.getType().equals(type)
+                || ToscaPropertyType.LIST.getType().equals(type);
+    }
+
+
 }