Skip to content

Commit

Permalink
Replaced forEach() with subscribe(logger::info) in Simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomezg committed Apr 24, 2024
1 parent ea3c6b0 commit 0926557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ private void generateRentals() {
this.loops,
this.concurrency,
this.abandonPaymentFactor,
this.delayBetweenLoops).toStream().forEach(logger::info);
this.delayBetweenLoops).subscribe(logger::info);
}
}

0 comments on commit 0926557

Please sign in to comment.