Skip to content

Commit 004f2ac

Browse files
author
Pankaj Gupta
committed
Minor scaladoc fixes.
1 parent 1603350 commit 004f2ac

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

cassovary-benchmarks/src/main/scala/com/twitter/cassovary/PerformanceBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import scala.collection.mutable.ListBuffer
4343
*
4444
* By default runs every test 10 times and reports average time taken.
4545
*
46-
* See: {@link http://snap.stanford.edu/data/}
46+
* See: [[http://snap.stanford.edu/data/]]
4747
*/
4848

4949
object PerformanceBenchmark extends App with GzipGraphDownloader {

cassovary-core/src/main/scala/com/twitter/cassovary/graph/Node.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ trait Node {
4242
* Returns a random node from the set of nodes that points to this node or else `None` if
4343
* this node has no inbound edges.
4444
*
45-
* The default implementation picks a random node from [[inboundNodes]] so subclasses
46-
* should consider overriding this method if the [[Seq]] sequence they produce is not
47-
* a [[IndexedSeq]].
45+
* The default implementation picks a random node from [[inboundNodes()*]] so subclasses
46+
* should consider overriding this method if the `Seq` sequence they produce is not
47+
* a `IndexedSeq`.
4848
*
4949
* @return a sequence of random node ids
5050
*/
@@ -95,9 +95,9 @@ trait Node {
9595
* Returns a random node from the set of nodes that this node points to or else `None` if
9696
* this node has no outbound edges.
9797
*
98-
* The default implementation picks a random node from [[outboundNodes]] so subclasses
99-
* should consider overriding this method if the [[Seq]] sequence they produce is not
100-
* a lazy [[IndexedSeq]].
98+
* The default implementation picks a random node from [[outboundNodes()*]] so subclasses
99+
* should consider overriding this method if the `Seq` sequence they produce is not
100+
* a lazy `IndexedSeq`.
101101
*
102102
* @return a random node that this node points to.
103103
*/

cassovary-core/src/main/scala/com/twitter/cassovary/util/ExecutorUtils.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ object ExecutorUtils {
3838
}
3939

4040
/**
41-
* Creates an {@link java.util.concurrent.ExecutorService} with bounded work queue and fixed lower
41+
* Creates an `java.util.concurrent.ExecutorService` with bounded work queue and fixed lower
4242
* and upper bounds on the thread pool size used to service the work queue. The returned executor
4343
* service will export stats monitoring queue depth, active thread count and rejections due to
4444
* queue full conditions.
@@ -64,7 +64,7 @@ object ExecutorUtils {
6464
}
6565

6666
/**
67-
* Creates an {@link java.util.concurrent.ExecutorService} with bounded work queue and fixed lower
67+
* Creates an `java.util.concurrent.ExecutorService` with bounded work queue and fixed lower
6868
* and upper bounds on the thread pool size used to service the work queue. The returned executor
6969
* service will export stats monitoring queue depth, active thread count and rejections due to
7070
* queue full conditions.

0 commit comments

Comments
 (0)