From c96838822903684eab67898e2bdc867e4315b9a8 Mon Sep 17 00:00:00 2001 From: mcheah Date: Fri, 24 May 2019 14:55:52 -0700 Subject: [PATCH] Fix scalastyle --- .../spark/sql/execution/datasources/noop/NoopDataSource.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/noop/NoopDataSource.scala b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/noop/NoopDataSource.scala index dc89e1a78afde..1da41f2baefcb 100644 --- a/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/noop/NoopDataSource.scala +++ b/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/noop/NoopDataSource.scala @@ -43,7 +43,9 @@ private[noop] object NoopTable extends Table with SupportsWrite with SupportsStr override def name(): String = "noop-table" override def schema(): StructType = new StructType() override def capabilities(): util.Set[TableCapability] = Set( - TableCapability.BATCH_WRITE, TableCapability.TRUNCATE, TableCapability.ACCEPT_ANY_SCHEMA).asJava + TableCapability.BATCH_WRITE, + TableCapability.TRUNCATE, + TableCapability.ACCEPT_ANY_SCHEMA).asJava } private[noop] object NoopWriteBuilder extends WriteBuilder with SupportsTruncate {