Skip to content

Commit

Permalink
Use -Xsource:3
Browse files Browse the repository at this point in the history
  • Loading branch information
thyandrecardoso committed Aug 23, 2024
1 parent 3d37ace commit c8d87f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ scalacOptions ++= Seq(

val scala2Flags = Seq(
"-Xlint:adapted-args",
"-Xsource:2.13.13",
"-Xsource:3",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-unused:imports"
Expand Down
2 changes: 1 addition & 1 deletion src/test/scala/org/uaparser/scala/CachingParserSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package org.uaparser.scala
import java.io.InputStream

class CachingParserSpec extends ParserSpecBase {
val parser = CachingParser.default()
val parser: CachingParser = CachingParser.default()
def createFromStream(stream: InputStream): UserAgentStringParser = CachingParser.fromInputStream(stream).get
}
2 changes: 1 addition & 1 deletion src/test/scala/org/uaparser/scala/ParserSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package org.uaparser.scala
import java.io.InputStream

class ParserSpec extends ParserSpecBase {
val parser = Parser.default
val parser: Parser = Parser.default
def createFromStream(stream: InputStream): UserAgentStringParser = Parser.fromInputStream(stream).get
}

0 comments on commit c8d87f1

Please sign in to comment.