Skip to content

Commit

Permalink
Update error message (#4407)
Browse files Browse the repository at this point in the history
  • Loading branch information
oluwasayo authored and ZheSun88 committed Jul 17, 2018
1 parent d77b51d commit dbdc153
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ default int getComponentCount() {
default Component getComponentAt(int index) {
if (index < 0) {
throw new IllegalArgumentException(
"The 'index' argument should be greater than 0. It was: "
"The 'index' argument should be greater than or equal to 0. It was: "
+ index);
}
return ((T) this).getChildren().sequential().skip(index).findFirst()
Expand Down

0 comments on commit dbdc153

Please sign in to comment.