From 68ebc08c9d8bfdc48253f265c2c1484fd28e678b Mon Sep 17 00:00:00 2001 From: David Xia Date: Sat, 26 Nov 2016 00:44:52 -0500 Subject: [PATCH] Fix typos in javadocs Replace "pagenated" with "paginated". --- src/main/java/org/kohsuke/github/GHPerson.java | 4 ++-- src/main/java/org/kohsuke/github/PagedIterator.java | 2 +- src/main/java/org/kohsuke/github/Requester.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHPerson.java b/src/main/java/org/kohsuke/github/GHPerson.java index 67e157173f..f9872699ce 100644 --- a/src/main/java/org/kohsuke/github/GHPerson.java +++ b/src/main/java/org/kohsuke/github/GHPerson.java @@ -93,10 +93,10 @@ protected void wrapUp(GHRepository[] page) { } /** - * Loads repository list in a pagenated fashion. + * Loads repository list in a paginated fashion. * *

- * For a person with a lot of repositories, GitHub returns the list of repositories in a pagenated fashion. + * For a person with a lot of repositories, GitHub returns the list of repositories in a paginated fashion. * Unlike {@link #getRepositories()}, this method allows the caller to start processing data as it arrives. * * Every {@link Iterator#next()} call results in I/O. Exceptions that occur during the processing is wrapped diff --git a/src/main/java/org/kohsuke/github/PagedIterator.java b/src/main/java/org/kohsuke/github/PagedIterator.java index 9149290911..aaa8182076 100644 --- a/src/main/java/org/kohsuke/github/PagedIterator.java +++ b/src/main/java/org/kohsuke/github/PagedIterator.java @@ -6,7 +6,7 @@ import java.util.NoSuchElementException; /** - * Iterator over a pagenated data source. + * Iterator over a paginated data source. * * Aside from the normal iterator operation, this method exposes {@link #nextPage()} * that allows the caller to retrieve items per page. diff --git a/src/main/java/org/kohsuke/github/Requester.java b/src/main/java/org/kohsuke/github/Requester.java index 3d240abd65..70c48940c0 100644 --- a/src/main/java/org/kohsuke/github/Requester.java +++ b/src/main/java/org/kohsuke/github/Requester.java @@ -355,7 +355,7 @@ private boolean isMethodWithBody() { } /** - * Loads pagenated resources. + * Loads paginated resources. * * Every iterator call reports a new batch. */