Bug 8351: Enforce check-style rules for restconf - sal-rest-connector
[netconf.git] / restconf / sal-rest-connector / src / main / java / org / opendaylight / restconf / base / services / impl / FakeRestconfModule.java
index 3d73d22075fcb92e58d0f5c1397709cce5734c7a..56ba8c27e748e84f680239e4122bf4a46806af48 100644 (file)
@@ -40,11 +40,12 @@ import org.opendaylight.yangtools.yang.model.api.UsesNode;
 /**
  * Special case only use by GET restconf/operations (since moment of old Yang
  * parser and old yang model API removal) to build and use fake module to create
- * new schema context
+ * new schema context.
  */
 final class FakeRestconfModule implements Module {
 
     static final QNameModule QNAME;
+
     static {
         Date date;
         try {
@@ -59,12 +60,12 @@ final class FakeRestconfModule implements Module {
     private final ImmutableSet<ModuleImport> imports;
 
     /**
-     * Instantiate a new fake module
+     * Instantiate a new fake module.
      *
      * @param neededModules needed import statements
      * @param child fake child container
      */
-    public FakeRestconfModule(final Collection<Module> neededModules, final ContainerSchemaNode child) {
+    FakeRestconfModule(final Collection<Module> neededModules, final ContainerSchemaNode child) {
         this.children = ImmutableList.of(child);
         this.imports = ImmutableSet.copyOf(Collections2.transform(neededModules, FakeModuleImport::new));
     }