Skip to content

Commit 319e282

Browse files
committed
SPARK-22830 Scala Coding style - scala style failed fixed
1 parent a14eb3e commit 319e282

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/src/main/scala/org/apache/spark/examples/graphx/Analytics.scala

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ object Analytics extends Logging {
3535

3636
def main(args: Array[String]): Unit = {
3737
if (args.length < 2) {
38-
val usage = """
39-
|Usage: Analytics <taskType> <file> --numEPart=<num_edge_partitions> [other options]
40-
|Supported 'taskType' as follows:
38+
val usage = """Usage: Analytics <taskType> <file> --numEPart=<num_edge_partitions>
39+
|[other options] Supported 'taskType' as follows:
4140
|pagerank Compute PageRank
4241
|cc Compute the connected components of vertices
4342
|triangles Count the number of triangles""".stripMargin
44-
4543
System.err.println(usage)
4644
System.exit(1)
4745
}

0 commit comments

Comments
 (0)