Skip to content

Commit

Permalink
fix: One more old converter usage fixed (#4423)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanandren authored Sep 18, 2024
1 parent d00ebdb commit 4436421
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.junit.Assert;
import org.junit.Test;
import org.scalatestplus.junit.JUnitSuite;
import static scala.compat.java8.FutureConverters.toJava;
import static scala.jdk.javaapi.FutureConverters.asJava;

public class EventStreamUnmarshallingTest extends JUnitSuite {

Expand All @@ -52,7 +52,7 @@ public void testFromEventsStream() throws Exception {

Assert.assertEquals(events, unmarshalledEvents);
} finally {
toJava(system.terminate()).toCompletableFuture().get(42, TimeUnit.SECONDS);
asJava(system.terminate()).toCompletableFuture().get(42, TimeUnit.SECONDS);
}
}
}

0 comments on commit 4436421

Please sign in to comment.