Bump mdsal to 5.0.2
[netconf.git] / netconf / models / ietf-netconf-nmda / src / main / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / netconf / nmda / rev190107 / GetDataInputMaxDepthBuilder.java
index 8899520844e5c8e8f93505a012c105f263433b82..eb680186053164a3cc9af2741e1a931453a31357 100644 (file)
@@ -4,11 +4,13 @@
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
- */package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.nmda.rev190107;
+ */
+package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.nmda.rev190107;
 
 import java.util.Optional;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.nmda.rev190107.GetDataInput.MaxDepth;
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.nmda.rev190107.GetDataInput.MaxDepth.Enumeration;
+import org.opendaylight.yangtools.yang.common.Uint16;
 
 /**
  * MaxDepth utilities.
@@ -24,6 +26,6 @@ public final class GetDataInputMaxDepthBuilder {
             return new MaxDepth(optEnum.get());
         }
         // FIXME: consider being stricter about number formats here
-        return new MaxDepth(Integer.valueOf(defaultValue));
+        return new MaxDepth(Uint16.valueOf(defaultValue));
     }
 }