Fixing sonar issues 3
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / builder / api / Builder.java
index 9f534ad192daf18b61e3e63c91bae7c48a841e44..05ff7dbf8e1b6695797c6d7724986e8bc34f3b0b 100644 (file)
@@ -18,35 +18,35 @@ public interface Builder {
 
     /**
      * Get name of module in which this node is declared.
-     *
+     * 
      * @return module name
      */
     String getModuleName();
 
     /**
      * Set name of module in which this node is declared.
-     *
+     * 
      * @param moduleName
      */
     void setModuleName(String moduleName);
 
     /**
      * Get current line in yang file.
-     *
+     * 
      * @return current line in yang file
      */
     int getLine();
 
     /**
      * Get parent node of this node.
-     *
+     * 
      * @return parent node builder or null if this is top level node
      */
     Builder getParent();
 
     /**
      * Set parent of this node.
-     *
+     * 
      * @param parent
      *            parent node builder
      */
@@ -54,31 +54,30 @@ public interface Builder {
 
     /**
      * Add unknown node to this builder.
-     *
+     * 
      * @param unknownNode
      */
     void addUnknownNodeBuilder(UnknownSchemaNodeBuilder unknownNode);
 
     /**
      * Get builders of unknown nodes defined in this node.
-     *
+     * 
      * @return collection of UnknownSchemaNodeBuilder objects
      */
     List<UnknownSchemaNodeBuilder> getUnknownNodeBuilders();
 
     /**
      * Build YANG data model node.
-     *
+     * 
      * This method should create an instance of YANG data model node. After
      * creating an instance, this instance should be returned for each call
      * without repeating build process.
-     *
+     * 
      * @return YANG data model node
      */
     Object build();
 
-    
-    public interface Rebuildable<T extends Builder> {
+    interface Rebuildable<T extends Builder> {
         T toBuilder();
     }
 }