Skip to content

Commit

Permalink
style: reformat workshop samples
Browse files Browse the repository at this point in the history
  • Loading branch information
jponge committed Sep 19, 2023
1 parent ede16dc commit 8daf457
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
//DEPS io.smallrye.reactive:mutiny:2.4.0
package _03_composition_transformation;

import io.smallrye.mutiny.Uni;

import java.util.Random;

import io.smallrye.mutiny.Uni;

public class _20_Uni_Branching {

public static void main(String[] args) throws InterruptedException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
//DEPS io.smallrye.reactive:mutiny:2.4.0
package _03_composition_transformation;

import java.util.Random;

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;

import java.util.Random;

public class _21_Multi_Branching {

public static void main(String[] args) throws InterruptedException {
Expand All @@ -28,7 +28,7 @@ public static void main(String[] args) throws InterruptedException {
}

static Uni<String> drop() {
return Uni.createFrom().<String>nullItem()
return Uni.createFrom().<String> nullItem()
.onItem().invoke(() -> System.out.println("(dropping negative value)"));
}

Expand Down

0 comments on commit 8daf457

Please sign in to comment.