mirror of
https://github.com/xerial/snappy-java.git
synced 2025-07-26 15:34:08 +02:00
Apply scalafmt
This commit is contained in:
parent
64d2274d30
commit
51711eee17
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user