Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Commit 4918fcd

Browse files
authored
Merge pull request #20 from Satya758/master
Fixed: Opened up Mono.apply for converting java to scala
2 parents 5385fbf + 1788b3d commit 4918fcd

File tree

1 file changed

+1
-1
lines changed
  • src/main/scala/reactor/core/scala/publisher

1 file changed

+1
-1
lines changed

src/main/scala/reactor/core/scala/publisher/Mono.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ object Mono {
18331833
* @tparam T The value type that will be emitted by this mono
18341834
* @return Wrapper of Java Mono
18351835
*/
1836-
private[publisher] def apply[T](javaMono: JMono[T]) = new Mono[T](javaMono)
1836+
def apply[T](javaMono: JMono[T]): Mono[T] = new Mono[T](javaMono)
18371837

18381838
def create[T](callback: MonoSink[T] => Unit): Mono[T] = {
18391839
new Mono[T](

0 commit comments

Comments
 (0)