Skip to content

Commit 5a52408

Browse files
committed
add @SInCE doc line
1 parent 60482b3 commit 5a52408

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎graphx/src/main/scala/org/apache/spark/graphx/lib/PageRank.scala‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ object PageRank extends Logging {
161161
* @return the graph containing with each vertex containing the PageRank and each edge
162162
* containing the normalized weight.
163163
*
164+
* @since 3.2.0
164165
*/
165166
def runWithOptions[VD: ClassTag, ED: ClassTag](
166167
graph: Graph[VD, ED], numIter: Int, resetProb: Double,
@@ -254,6 +255,8 @@ object PageRank extends Logging {
254255
*
255256
* @return the graph containing with each vertex containing the PageRank and each edge
256257
* containing the normalized weight.
258+
*
259+
* @since 3.2.0
257260
*/
258261
def runWithOptionsWithPreviousPageRank[VD: ClassTag, ED: ClassTag](
259262
graph: Graph[VD, ED], numIter: Int, resetProb: Double, srcId: Option[VertexId],

‎graphx/src/test/scala/org/apache/spark/graphx/lib/PageRankSuite.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class PageRankSuite extends SparkFunSuite with LocalSparkContext {
261261
).vertices.collect()
262262

263263
// assert that all scores are equal
264-
assert(ranksA.zip(ranksB).forall{ case(rankA, rankB) => rankA == rankB })
264+
assert(ranksA.zip(ranksB).forall { case(rankA, rankB) => rankA == rankB })
265265
}
266266
} // end of Grid PageRank with checkpoint without intermediate normalization
267267

0 commit comments

Comments
 (0)