Skip to content

Commit

Permalink
Fix style issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
harishreedharan committed Jun 3, 2015
1 parent 5528bd8 commit a131be6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import java.io.{BufferedOutputStream, ByteArrayInputStream, ByteArrayOutputStrea
FileOutputStream, OutputStreamWriter}
import java.net.URI
import java.util.concurrent.TimeUnit
import java.util.zip.{ZipInputStream, ZipOutputStream}
import java.util.zip.{ZipInputStream, ZipOutputStream}

import scala.io.Source

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
}
}
var filesCompared = 0
while(entry != null) {
while (entry != null) {
if (!entry.isDirectory) {
val expectedFile = {
if (legacy) {
Expand All @@ -205,7 +205,7 @@ class HistoryServerSuite extends SparkFunSuite with BeforeAndAfter with Matchers
}
}
val expected = Files.toString(expectedFile, Charsets.UTF_8)
val actual = new String(ByteStreams.toByteArray(zipStream), Charsets.UTF_8)
val actual = new String(ByteStreams.toByteArray(zipStream), Charsets.UTF_8)
actual should be (expected)
filesCompared += 1
}
Expand Down

This file was deleted.

0 comments on commit a131be6

Please sign in to comment.