summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/funcutils/IBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils/IBuilder.java')
-rw-r--r--base/src/main/java/bjc/utils/funcutils/IBuilder.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/src/main/java/bjc/utils/funcutils/IBuilder.java b/base/src/main/java/bjc/utils/funcutils/IBuilder.java
index f8dd2fc..b1a2020 100644
--- a/base/src/main/java/bjc/utils/funcutils/IBuilder.java
+++ b/base/src/main/java/bjc/utils/funcutils/IBuilder.java
@@ -6,7 +6,7 @@ package bjc.utils.funcutils;
* @author ben
*
* @param <E>
- * The type of object being built.
+ * The type of object being built.
*/
public interface IBuilder<E> {
/**
@@ -15,8 +15,8 @@ public interface IBuilder<E> {
* @return The built object.
*
* @throws IllegalStateException
- * If the data in the builder cannot be built into its
- * corresponding object at this point in time.
+ * If the data in the builder cannot be built into
+ * its corresponding object at this point in time.
*/
public E build();
@@ -24,9 +24,11 @@ public interface IBuilder<E> {
* Reset the state of this builder to its initial state.
*
* @throws UnsupportedOperationException
- * If the builder doesn't support resetting its state.
+ * If the builder doesn't support
+ * resetting its state.
*/
public default void reset() {
- throw new UnsupportedOperationException("Builder doesn't support state resetting");
+ throw new UnsupportedOperationException(
+ "Builder doesn't support state resetting");
}
}