Skip to content

Commit

Permalink
Correct page size check length
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan committed May 9, 2019
1 parent 9da533f commit 29af31a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ else if (filter != null && filter.byName != null) {
handleUserId( handler, userJson );
}
}
if ( nameSearchResponseJson.length() < 9 ) {
if ( nameSearchResponseJson.length() < 10 ) {
morePages = false;
}
} catch (IOException IOE) {
Expand Down Expand Up @@ -339,7 +339,7 @@ else if (filter != null && filter.byEmailAddress != null) {
System.out.println("\nJSON Object: " + searchResponseJson);
file9.flush();
file9.close();
if ( searchResponseJson.length() < 9 ) {
if ( searchResponseJson.length() < 10 ) {
morePages = false;
}
for ( int i = 0; i < searchResponseJson.length(); i++ ) {
Expand Down

0 comments on commit 29af31a

Please sign in to comment.