Expand Identifiable documentation
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / Builder.java
index 0484c4831e86b81bcf7ebf408049dcdcc135d3e3..07ce49fa99d6dfadd43792eea9dec7f66b119895 100644 (file)
@@ -9,20 +9,17 @@ package org.opendaylight.yangtools.concepts;
 
 /**
  * Builder object which produces a product.
- * 
+ *
  * @param <P> Product of builder
- * 
+ *
  * @author Tony Tkacik &lt;ttkacik@cisco.com&gt;
  */
 public interface Builder<P> extends Mutable {
-    
     /**
-     * Returns instance of the product.
-     * 
-     * Multiple calls to this method are not required to return
-     * same instance if the state of the builder was changed.
-     * 
+     * Returns instance of the product.  Multiple calls to this method are not required to return
+     * same instance if the state of the builder has changed.
+     *
      * @return Newly-built instance
      */
-    P toInstance();
+    P build();
 }