Skip to content

Commit

Permalink
Fix typos in Ix javadocs (#5)
Browse files Browse the repository at this point in the history
* Fix typos in Ix javadocs

* Fix typo: Interable -> Iterable
  • Loading branch information
bryant1410 authored and akarnokd committed Jul 25, 2016
1 parent 57d3ba0 commit 9ee1da6
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit 9ee1da6

Please sign in to comment.