fix compilation of jdk9 docs tests (#177)

This commit is contained in:
Johannes Rudolph 2023-02-13 12:21:13 +01:00 committed by GitHub
parent f3fdd13441
commit 982780b043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -32,10 +32,10 @@ public interface AsSubscriber {
public static final class Source {
public
// #api
static <T> pekko.stream.javadsl.Source<T, Subscriber<T>> asSubscriber()
static <T> org.apache.pekko.stream.javadsl.Source<T, Subscriber<T>> asSubscriber()
// #api
{
return pekko.stream.javadsl.JavaFlowSupport.Source.<T>asSubscriber();
return org.apache.pekko.stream.javadsl.JavaFlowSupport.Source.<T>asSubscriber();
}
}
}

View file

@ -31,10 +31,10 @@ public interface FromPublisher {
public static final class Source {
public
// #api
static <T> pekko.stream.javadsl.Source<T, NotUsed> fromPublisher(Publisher<T> publisher)
static <T> org.apache.pekko.stream.javadsl.Source<T, NotUsed> fromPublisher(Publisher<T> publisher)
// #api
{
return pekko.stream.javadsl.JavaFlowSupport.Source.<T>fromPublisher(publisher);
return org.apache.pekko.stream.javadsl.JavaFlowSupport.Source.<T>fromPublisher(publisher);
}
}
}