Skip to content

SCALA-28: move code to its own package #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.baeldung.scala
package com.baeldung.scala.lazyval

import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent._
Expand Down Expand Up @@ -59,4 +59,4 @@ object SequentialLazyVals extends App {
}

run.foreach(println)
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.baeldung.scala
package com.baeldung.scala.lazyval

import org.scalatest.FunSuite
import org.scalatest.Matchers._

import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.duration._
import scala.concurrent.{Future, _}
import com.baeldung.scala
import com.baeldung.scala.lazyval

class LazyValUnitTest extends FunSuite {

Expand All @@ -27,10 +27,10 @@ class LazyValUnitTest extends FunSuite {
//given
val futures = Future.sequence(Seq(
Future {
scala.LazyValStore.squareOf5
LazyValStore.squareOf5
},
Future {
scala.LazyValStore.squareOf6
LazyValStore.squareOf6
}))

//when
Expand Down