summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java
diff options
context:
space:
mode:
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java b/BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java
index a55e8e0..357ce70 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/funcutils/IBuilder.java
+++ b/BJC-Utils2/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> {
/**
@@ -14,8 +14,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();
@@ -23,10 +23,9 @@ 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");
}
}