[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.
This commit is contained in:
Dongjoon Hyun 2016-05-03 14:02:04 +01:00 committed by Sean Owen
parent 57ac7c1824
commit 46965cd014

View file

@ -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)