diff options
Diffstat (limited to 'common/onap-tosca-datatype/src')
-rw-r--r-- | common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/CapabilityFilter.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/CapabilityFilter.java b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/CapabilityFilter.java index 0453325aa2..ce0391d62d 100644 --- a/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/CapabilityFilter.java +++ b/common/onap-tosca-datatype/src/main/java/org/onap/sdc/tosca/datatypes/model/CapabilityFilter.java @@ -26,7 +26,7 @@ import java.util.Map; public class CapabilityFilter { - List<Map<String, List<Constraint>>> properties; + private List<Map<String, List<Constraint>>> properties; public List<Map<String, List<Constraint>>> getProperties() { return properties; @@ -38,9 +38,10 @@ public class CapabilityFilter { @Override public String toString() { - final StringBuilder sb = new StringBuilder("CapabilityFilter{"); - sb.append("properties=").append(properties); - sb.append('}'); - return sb.toString(); + return "CapabilityFilter{" + "properties=" + properties + '}'; + } + + public CapabilityFilter() { + //default constructor } } |