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 ++= {
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")))
}
else {
} else {
Seq.empty
}
}
@ -143,4 +142,3 @@ releaseProcess := Seq[ReleaseStep](
releaseStepCommand("sonatypeReleaseAll"),
pushChanges
)

View File

@ -6,7 +6,6 @@ import xerial.core.log.LogLevel
import scala.util.Random
/**
*
*/
@ -21,7 +20,6 @@ class SnappyPerformanceTest extends SnappySpec {
a
}
"SnappyOutputStream" should {
"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")
}
}
}

View File

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