Skip to content

Commit

Permalink
Fix incorrect word choice (auto-correct?)
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Mar 12, 2020
1 parent 318be22 commit cad8105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/src/main/asciidoc/ELSpec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2321,7 +2321,7 @@ whose behaviors are specified in this section.

===== Stream

An instant of `Stream` is obtained by calling the method `stream()` of
An instance of `Stream` is obtained by calling the method `stream()` of
a `java.util.Collection` object or a Java array.
The methods in this class support the stream operations and are
described in <<filter,2.3.5>> to <<findFirst,2.3.26>>.
Expand Down Expand Up @@ -2361,7 +2361,7 @@ lambda expression `other` if the `Optional` is empty.
==== Functions

Some operations takes functions (lambda
expressions) as parameters. Again, we use the notion
expressions) as parameters. Again, we use the notation:

`(arg1Type, ...)\->returnType`

Expand Down Expand Up @@ -2489,7 +2489,7 @@ customers.stream().filter(c->c.country == 'USA')
.toList()
----

To obtain a list of alphabets used in a list
To obtain an alphabetical list of characters used in a list
of words:
----
words.stream().flatMap(w->w.toCharArray().stream())
Expand Down

0 comments on commit cad8105

Please sign in to comment.