Skip to content

Commit

Permalink
chore: Check java9+ classes in paradox.
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin committed Jan 27, 2024
1 parent 4c20580 commit 741ee72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ jobs:
run: |-
sudo apt-get install graphviz
- name: Compile docs for all Scala versions
run: sbt +compile:doc
- name: Compile docs&paradox for all Scala versions
run: sbt ";Test / compile ;TestJdk9 / compile ;docs/paradox ;+compile:doc"
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.apache.pekko.NotUsed;
import org.apache.pekko.stream.javadsl.Source;
import org.apache.pekko.stream.javadsl.JavaFlowSupport;

//#imports
public interface AsSubscriber {
// We are 'faking' the JavaFlowSupport API here so we can include the signature as a snippet in the API,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@

package docs.stream.operators.sink

import scala.concurrent.{ ExecutionContextExecutor, Future }
import org.apache.pekko.actor.ActorSystem
import org.apache.pekko.stream.scaladsl.{ Sink, Source }

import scala.concurrent.ExecutionContextExecutor

object AsPublisher {
implicit val system: ActorSystem = ???
implicit val ec: ExecutionContextExecutor = system.dispatcher
Expand Down

0 comments on commit 741ee72

Please sign in to comment.