Skip to content

Commit

Permalink
chore: Update method names in doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jan 29, 2024
1 parent f4c5030 commit 51b60f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/test/java/jdocs/stream/operators/sink/Exists.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class Exists {
private static final ActorSystem system = null;

private void detectAnomaly() throws Exception {
private void existsExample() throws Exception {
// #exists
final boolean anyMatch =
Source.range(1, 4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ object Exists {
implicit val system: ActorSystem = null
implicit val ec: ExecutionContext = system.dispatcher

def detectAnomaly(): Unit = {
def existsExample(): Unit = {
// #exists
val result = Source(1 to 4)
.runWith(Sink.exists(_ > 3))
Expand Down

0 comments on commit 51b60f3

Please sign in to comment.