Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/ix/Ix.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static <T> Ix<T> empty() {
}

/**
* Wraps the given Interable source into an Ix instance (if
* Wraps the given Iterable source into an Ix instance (if
* not already an Ix subclass).
* <p>
* The result's iterator() forwards the remove() calls to the source's
Expand Down Expand Up @@ -2269,7 +2269,7 @@ public final void print(CharSequence separator, int charsPerLine) {
System.out.print(separator);
len += separator.length();
if (len > charsPerLine) {
System.out.println();;
System.out.println();
System.out.print(s);
len = s.length();
} else {
Expand Down Expand Up @@ -2394,9 +2394,9 @@ public final T single() {


/**
* Returns the single element of this sequence, the defaltValue
* Returns the single element of this sequence, defalutValue
* if this sequence is empty or IndexOutOfBoundsException if this sequence has more
* than on element
* than one element
* @param defaultValue the value to return if this sequence is empty
* @return the single element of the sequence
* @throws IndexOutOfBoundsException if the sequence has more than one element
Expand Down