From 9ee1da67dd75041cf339f34d9cd9a549800df8ae Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Mon, 25 Jul 2016 03:16:58 -0300 Subject: [PATCH] Fix typos in Ix javadocs (#5) * Fix typos in Ix javadocs * Fix typo: Interable -> Iterable --- src/main/java/ix/Ix.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/ix/Ix.java b/src/main/java/ix/Ix.java index 3d8cb77..718a11a 100644 --- a/src/main/java/ix/Ix.java +++ b/src/main/java/ix/Ix.java @@ -203,7 +203,7 @@ public static Ix 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). *

* The result's iterator() forwards the remove() calls to the source's @@ -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 { @@ -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