Revert "Migrate concepts to use JDT annotations"
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / Builder.java
index 0cf4926f7956697b5621658d1d52e538d5f4d421..e33eca895665bf15b2bbf8922fababb07caf3e94 100644 (file)
@@ -15,15 +15,12 @@ package org.opendaylight.yangtools.concepts;
  * @author Tony Tkacik <ttkacik@cisco.com>
  */
 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
+     * @return A newly-built instance
+     * @throws IllegalStateException if the builder's state is not sufficiently initialized
      */
     P build();
-
 }