From 9216901d52c9c763bfb908013587dcf5e781f15b Mon Sep 17 00:00:00 2001 From: Holden Karau Date: Mon, 8 Aug 2016 15:54:03 -0700 Subject: [SPARK-16779][TRIVIAL] Avoid using postfix operators where they do not add much and remove whitelisting ## What changes were proposed in this pull request? Avoid using postfix operation for command execution in SQLQuerySuite where it wasn't whitelisted and audit existing whitelistings removing postfix operators from most places. Some notable places where postfix operation remains is in the XML parsing & time units (seconds, millis, etc.) where it arguably can improve readability. ## How was this patch tested? Existing tests. Author: Holden Karau Closes #14407 from holdenk/SPARK-16779. --- .../src/test/scala/org/apache/spark/sql/types/DecimalSuite.scala | 2 -- 1 file changed, 2 deletions(-) (limited to 'sql/catalyst/src/test/scala') diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/types/DecimalSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/types/DecimalSuite.scala index e1675c9590..a10c0e39eb 100644 --- a/sql/catalyst/src/test/scala/org/apache/spark/sql/types/DecimalSuite.scala +++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/types/DecimalSuite.scala @@ -17,8 +17,6 @@ package org.apache.spark.sql.types -import scala.language.postfixOps - import org.scalatest.PrivateMethodTester import org.apache.spark.SparkFunSuite -- cgit v1.2.3