Skip to content

Commit a131be6

Browse files
Fix style issues.
1 parent 5528bd8 commit a131be6

File tree

3 files changed

+3
-59
lines changed

3 files changed

+3
-59
lines changed

core/src/test/scala/org/apache/spark/deploy/history/FsHistoryProviderSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import java.io.{BufferedOutputStream, ByteArrayInputStream, ByteArrayOutputStrea
2121
FileOutputStream, OutputStreamWriter}
2222
import java.net.URI
2323
import java.util.concurrent.TimeUnit
24-
import java.util.zip.{ZipInputStream, ZipOutputStream}
24+
import java.util.zip.{ZipInputStream, ZipOutputStream}
2525

2626
import scala.io.Source
2727

core/src/test/scala/org/apache/spark/deploy/history/HistoryServerSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
194194
}
195195
}
196196
var filesCompared = 0
197-
while(entry != null) {
197+
while (entry != null) {
198198
if (!entry.isDirectory) {
199199
val expectedFile = {
200200
if (legacy) {
@@ -205,7 +205,7 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
205205
}
206206
}
207207
val expected = Files.toString(expectedFile, Charsets.UTF_8)
208-
val actual = new String(ByteStreams.toByteArray(zipStream), Charsets.UTF_8)
208+
val actual = new String(ByteStreams.toByteArray(zipStream), Charsets.UTF_8)
209209
actual should be (expected)
210210
filesCompared += 1
211211
}

core/src/test/scala/org/apache/spark/deploy/history/HistoryTestUtils.scala

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)