Skip to content

Commit

Permalink
Replace Scaladoc with link to Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Jun 7, 2020
1 parent 271afd8 commit 69a259a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
9 changes: 3 additions & 6 deletions src/library-aux/scala/AnyRef.scala
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,21 @@ trait AnyRef extends Any {
*/
final def notifyAll(): Unit

/** Causes the current Thread to wait until another Thread invokes
* the notify() or notifyAll() methods.
/** See [[https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--]].
*
* @note not specified by SLS as a member of AnyRef
*/
final def wait (): Unit

/** Causes the current Thread to wait until another Thread invokes
* the notify() or notifyAll() methods, or a specified amount of time has elapsed.
/** See [[https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-]]
*
* @param timeout the maximum time to wait in milliseconds.
* @param nanos additional time, in nanoseconds range 0-999999.
* @note not specified by SLS as a member of AnyRef
*/
final def wait (timeout: Long, nanos: Int): Unit

/** Causes the current Thread to wait until another Thread invokes
* the notify() or notifyAll() methods, or a specified amount of time has elapsed.
/** See [[https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-]].
*
* @param timeout the maximum time to wait in milliseconds.
* @note not specified by SLS as a member of AnyRef
Expand Down
11 changes: 4 additions & 7 deletions test/scaladoc/run/anyref-doc.check
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(Wakes up all threads
))))))
)
List(scala.AnyRef#wait, scala.AnyRef#wait, scala.AnyRef#wait)
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(Causes the current Thread to wait until another Thread invokes
the notify() or notifyAll() methods), Text(.)))), Text(
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Chain(List(Text(See ), Link(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--,Text(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--)))), Text(.)))), Text(
))))))
)
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(Causes the current Thread to wait until another Thread invokes
the notify() or notifyAll() methods, or a specified amount of time has elapsed), Text(.)))), Text(
))))))
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(See ), Link(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-,Text(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)), Text(
), Text()))))))))
)
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Text(Causes the current Thread to wait until another Thread invokes
the notify() or notifyAll() methods, or a specified amount of time has elapsed), Text(.)))), Text(
Some(Body(List(Paragraph(Chain(List(Summary(Chain(List(Chain(List(Text(See ), Link(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-,Text(https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-)))), Text(.)))), Text(
))))))
)
Done.

0 comments on commit 69a259a

Please sign in to comment.