Apply scalafmt

This commit is contained in:
Taro L. Saito 2017-11-14 11:55:03 -08:00
parent 64d2274d30
commit 51711eee17
4 changed files with 64 additions and 78 deletions

View File

@ -7,8 +7,7 @@ sonatypeProfileName := "org.xerial"
credentials ++= { credentials ++= {
if (sys.env.contains("SONATYPE_USERNAME") && sys.env.contains("SONATYPE_PASSWORD")) { if (sys.env.contains("SONATYPE_USERNAME") && sys.env.contains("SONATYPE_PASSWORD")) {
Seq(Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", sys.env("SONATYPE_USERNAME"), sys.env("SONATYPE_PASSWORD"))) Seq(Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", sys.env("SONATYPE_USERNAME"), sys.env("SONATYPE_PASSWORD")))
} } else {
else {
Seq.empty Seq.empty
} }
} }
@ -143,4 +142,3 @@ releaseProcess := Seq[ReleaseStep](
releaseStepCommand("sonatypeReleaseAll"), releaseStepCommand("sonatypeReleaseAll"),
pushChanges pushChanges
) )

View File

@ -6,7 +6,6 @@ import xerial.core.log.LogLevel
import scala.util.Random import scala.util.Random
/** /**
* *
*/ */
@ -21,7 +20,6 @@ class SnappyPerformanceTest extends SnappySpec {
a a
} }
"SnappyOutputStream" should { "SnappyOutputStream" should {
"improve output performance" taggedAs ("out") in { "improve output performance" taggedAs ("out") in {
@ -43,8 +41,6 @@ class SnappyPerformanceTest extends SnappySpec {
//info(f"compressed size: ${compressed.length}%,d, input: ${data.length}%,d") //info(f"compressed size: ${compressed.length}%,d, input: ${data.length}%,d")
} }
} }
} }

View File

@ -7,15 +7,7 @@ import xerial.core.util.Timer
/** /**
* *
*/ */
trait SnappySpec trait SnappySpec extends WordSpec with Matchers with GivenWhenThen with OptionValues with BeforeAndAfter with Timer with Logger {
extends WordSpec
with Matchers
with GivenWhenThen
with OptionValues
with BeforeAndAfter
with Timer
with Logger
{
implicit def toTag(s: String): Tag = Tag(s) implicit def toTag(s: String): Tag = Tag(s)