BUG 2155 - depth parameter in URI
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / main / java / org / opendaylight / controller / sal / restconf / impl / NormalizedNodeContext.java
index d72be873ec91c5e6444af53c2d6fdb85d11666cf..3adecaf8f331b2e0690163d01eb0957994c34cfe 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * 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.controller.sal.restconf.impl;
 
 import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
@@ -21,7 +28,7 @@ public class NormalizedNodeContext {
         this.context = context;
         this.data = data;
         // default writer parameters
-        this.writerParameters = new WriterParameters(false, Integer.MAX_VALUE);
+        this.writerParameters = new WriterParameters.WriterParametersBuilder().build();
     }
 
     public InstanceIdentifierContext<? extends SchemaNode> getInstanceIdentifierContext() {