File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
docs/src/test/java/docs/http/javadsl/server/directives Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3232import org .apache .pekko .http .javadsl .testkit .JUnitRouteTest ;
3333import org .apache .pekko .http .javadsl .server .*;
3434import org .apache .pekko .japi .pf .PFBuilder ;
35- import org .apache .pekko .stream .ActorMaterializer ;
36- import org .apache .pekko .stream .ActorMaterializerSettings ;
35+ import org .apache .pekko .stream .Materializer ;
3736import org .apache .pekko .stream .javadsl .Sink ;
3837import org .apache .pekko .stream .javadsl .Source ;
3938import org .apache .pekko .util .ByteString ;
@@ -292,8 +291,7 @@ public void testExtractLog() {
292291 @ Test
293292 public void testWithMaterializer () {
294293 // #withMaterializer
295- final ActorMaterializerSettings settings = ActorMaterializerSettings .create (system ());
296- final ActorMaterializer special = ActorMaterializer .create (settings , system (), "special" );
294+ final Materializer special = Materializer .createMaterializer (system ());
297295
298296 final Route sample =
299297 path (
You can’t perform that action at this time.
0 commit comments