Skip to content

Commit

Permalink
Upgrade to Reactor 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Nov 23, 2017
1 parent df4ee26 commit cf4ff21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-bom</artifactId>
<version>Bismuth-M2</version>
<version>Bismuth-SR4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/pivotal/literx/Part08OtherOperations.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Mono<User> useFastestMono(Mono<User> mono1, Mono<User> mono2) {

// TODO Return the flux which returns the first value faster
Flux<User> useFastestFlux(Flux<User> flux1, Flux<User> flux2) {
return Flux.firstEmitting(flux1, flux2); // TO BE REMOVED
return Flux.first(flux1, flux2); // TO BE REMOVED
}

//========================================================================================
Expand Down

0 comments on commit cf4ff21

Please sign in to comment.