Mass migrate fields to use Immutable collections
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / leaf / LeafEffectiveStatementImpl.java
index c8d78b6893fc3ddf069d57d63aebe0135efe0d6d..7677a5adf550480c6a55be4f3727b772237dfcf4 100644 (file)
@@ -36,7 +36,7 @@ import org.opendaylight.yangtools.yang.parser.spi.source.SourceException;
 // FIXME: hide this class
 public final class LeafEffectiveStatementImpl extends AbstractEffectiveDataSchemaNode<LeafStatement>
         implements LeafEffectiveStatement, LeafSchemaNode, DerivableSchemaNode {
-    private final Collection<MustDefinition> mustConstraints;
+    private final ImmutableSet<MustDefinition> mustConstraints;
     private final LeafSchemaNode original;
     private final TypeDefinition<?> type;
     private final String defaultStr;