Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2e3f0d8

Browse filesBrowse files
committed
changes to Scala 2.13.0 and ScalaTest upgrade
1 parent 375e1d4 commit 2e3f0d8
Copy full SHA for 2e3f0d8

File tree

Expand file treeCollapse file tree

5 files changed

+7
-6
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+7
-6
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: scala
22
scala:
3-
- 2.12.5
3+
- 2.13.0
44
jdk:
55
- oraclejdk8
6+
dist: trusty
67

78
# safelist
89
branches:

‎build.sbt

Copy file name to clipboardExpand all lines: build.sbt
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ lazy val root = (project in file(".")).
44
settings(
55
inThisBuild(List(
66
organization := "org.codecraftlabs",
7-
scalaVersion := "2.12.7",
7+
scalaVersion := "2.13.0",
88
version := "1.0.21.0"
99
)),
1010
name := "leetcode-scala",

‎project/Dependencies.scala

Copy file name to clipboard
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sbt._
22

33
object Dependencies {
4-
lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.0.3"
5-
lazy val scalacticTest = "org.scalactic" %% "scalactic" % "3.0.5"
4+
lazy val scalaTest = "org.scalatest" %% "scalatest" % "3.0.8"
5+
lazy val scalacticTest = "org.scalactic" %% "scalactic" % "3.0.8"
66
}

‎project/build.properties

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.1.1
1+
sbt.version=1.2.8

‎src/main/scala/org/codecraftlabs/leetcode/CountAndSay.scala

Copy file name to clipboardExpand all lines: src/main/scala/org/codecraftlabs/leetcode/CountAndSay.scala
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object CountAndSay {
1515
}
1616

1717
private def say(value: String): String = {
18-
var elements = mutable.MutableList[(Int, Char)]()
18+
var elements = mutable.ArrayDeque[(Int, Char)]()
1919
val stack = mutable.Stack[Char]()
2020

2121
var counter = 1

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.