diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-05-03 14:02:04 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-03 14:02:04 +0100 |
commit | 46965cd014fd4ba68bdec15156ec9bcc27d9b217 (patch) | |
tree | bbbccfc318e46f04e0734cec2d7489c6fb608ee3 /graphx/src | |
parent | 57ac7c182465e1653e74a8ad6c826b2cf56a0ad8 (diff) | |
download | spark-46965cd014fd4ba68bdec15156ec9bcc27d9b217.tar.gz spark-46965cd014fd4ba68bdec15156ec9bcc27d9b217.tar.bz2 spark-46965cd014fd4ba68bdec15156ec9bcc27d9b217.zip |
[SPARK-15057][GRAPHX] Remove stale TODO comment for making `enum` in GraphGenerators
## What changes were proposed in this pull request?
This PR removes a stale TODO comment in `GraphGenerators.scala`
## How was this patch tested?
Just comment removed.
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #12839 from dongjoon-hyun/SPARK-15057.
Diffstat (limited to 'graphx/src')
-rw-r--r-- | graphx/src/main/scala/org/apache/spark/graphx/util/GraphGenerators.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/graphx/src/main/scala/org/apache/spark/graphx/util/GraphGenerators.scala b/graphx/src/main/scala/org/apache/spark/graphx/util/GraphGenerators.scala index 80c6b6838f..4da1ecb2a9 100644 --- a/graphx/src/main/scala/org/apache/spark/graphx/util/GraphGenerators.scala +++ b/graphx/src/main/scala/org/apache/spark/graphx/util/GraphGenerators.scala @@ -209,7 +209,6 @@ object GraphGenerators extends Logging { } } - // TODO(crankshaw) turn result into an enum (or case class for pattern matching} private def pickQuadrant(a: Double, b: Double, c: Double, d: Double): Int = { if (a + b + c + d != 1.0) { throw new IllegalArgumentException("R-MAT probability parameters sum to " + (a + b + c + d) |