Fix Decima64.valueOf(String)
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / Builder.java
index affc25b7713f98c759d06b45ef5c53275074f69f..4b37e0b15d1bb5ce594709d523b5ffbefb2bb200 100644 (file)
@@ -9,20 +9,12 @@ package org.opendaylight.yangtools.concepts;
 
 /**
  * Builder object which produces a product.
- * 
+ *
  * @param <P> Product of builder
- * 
- * @author Tony Tkacik <ttkacik@cisco.com>
+ *
+ * @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.
-     * 
-     * @return
-     */
-    P toInstance();
+public interface Builder<P> extends CheckedBuilder<P, IllegalArgumentException> {
+    @Override
+    P build();
 }