Fix some build and compile warnings
This commit is contained in:
parent
3f0c23e2da
commit
39199b877a
5 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ site.publishSite
|
|||
SphinxDoc.sphinxPreprocessing
|
||||
SphinxDoc.docsSettings
|
||||
|
||||
unmanagedSourceDirectories in ScalariformKeys.format in Test <<= unmanagedSourceDirectories in Test
|
||||
unmanagedSourceDirectories in ScalariformKeys.format in Test := (unmanagedSourceDirectories in Test).value
|
||||
additionalTasks in ValidatePR += generate in Sphinx
|
||||
|
||||
enablePlugins(ScaladocNoVerificationOfDiagrams)
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ class GraphStageLogicSpec extends StreamSpec with GraphInterpreterSpecKit {
|
|||
override def toString = "GraphStageLogicSpec.emitEmptyIterable"
|
||||
}
|
||||
|
||||
final case class ReadNEmitN(n: Int) extends GraphStage[FlowShape[Int, Int]] {
|
||||
private case class ReadNEmitN(n: Int) extends GraphStage[FlowShape[Int, Int]] {
|
||||
override val shape = FlowShape(Inlet[Int]("readN.in"), Outlet[Int]("readN.out"))
|
||||
|
||||
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic =
|
||||
|
|
@ -93,7 +93,7 @@ class GraphStageLogicSpec extends StreamSpec with GraphInterpreterSpecKit {
|
|||
}
|
||||
}
|
||||
|
||||
final case class ReadNEmitRestOnComplete(n: Int) extends GraphStage[FlowShape[Int, Int]] {
|
||||
private case class ReadNEmitRestOnComplete(n: Int) extends GraphStage[FlowShape[Int, Int]] {
|
||||
override val shape = FlowShape(Inlet[Int]("readN.in"), Outlet[Int]("readN.out"))
|
||||
|
||||
override def createLogic(inheritedAttributes: Attributes): GraphStageLogic =
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ final class ActorMaterializerSettings private (
|
|||
* this may cause an initial runtime overhead, but most of the time fusing is
|
||||
* desirable since it reduces the number of Actors that are created.
|
||||
*/
|
||||
@deprecated(since = "2.5.0", message = "Turning off fusing is no longer possible with the traversal based materializer")
|
||||
@deprecated("Turning off fusing is no longer possible with the traversal based materializer", since = "2.5.0")
|
||||
def withAutoFusing(enable: Boolean): ActorMaterializerSettings =
|
||||
if (enable == this.autoFusing) this
|
||||
else copy(autoFusing = enable)
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ object DependencyHelpers {
|
|||
* dependent entries.
|
||||
*/
|
||||
def versionDependentDeps(modules: ScalaVersionDependentModuleID*): Def.Setting[Seq[ModuleID]] =
|
||||
libraryDependencies <++= scalaVersion(version => modules.flatMap(m => m.modules(version)))
|
||||
libraryDependencies ++= modules.flatMap(m => m.modules(scalaVersion.value))
|
||||
|
||||
val ScalaVersion = """\d\.\d+\.\d+(?:-(?:M|RC)\d+)?""".r
|
||||
val nominalScalaVersion: String => String = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue