X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-docgen%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frest%2Fdoc%2Fimpl%2FModelGenerator.java;h=b2c258825e3453c3f739986d7361d156375e803a;hb=abb040691b2cba79554ff53ede4bc07f6e669de7;hp=597051ed300549a2c38e5d239706468612a127aa;hpb=cef5d589ec91bd797a6c520856d7019c7ba074b4;p=controller.git diff --git a/opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/impl/ModelGenerator.java b/opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/impl/ModelGenerator.java index 597051ed30..b2c258825e 100644 --- a/opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/impl/ModelGenerator.java +++ b/opendaylight/md-sal/sal-rest-docgen/src/main/java/org/opendaylight/controller/sal/rest/doc/impl/ModelGenerator.java @@ -95,9 +95,9 @@ public class ModelGenerator { for(DataSchemaNode childNode : childNodes){ JSONObject moduleJSON=null; String filename = childNode.getQName().getLocalName(); - /* - * For every container in the module - */ + /* + * For every container in the module + */ if(childNode instanceof ContainerSchemaNode) { moduleJSON = processContainer((ContainerSchemaNode)childNode, moduleName, true, models); } @@ -307,11 +307,11 @@ public class ModelGenerator { childSchema.put(TYPE_KEY, OBJECT_TYPE); childSchema.put(PROPERTIES_KEY, childSchemaProperties); - /* - * Due to a limitation of the RAML--->JAX-RS tool, sub-properties - * must be in a separate JSON schema file. Hence, we have to write - * some properties to a new file, while continuing to process the rest. - */ + /* + * Due to a limitation of the RAML--->JAX-RS tool, sub-properties + * must be in a separate JSON schema file. Hence, we have to write + * some properties to a new file, while continuing to process the rest. + */ //writeToFile(fileName, childSchema.toString(2), moduleName); childSchema.put("id", fileName); models.put(fileName, childSchema);