Skip to content

SimpleDeadCode - improper delete of anonymous clas #74

@rorygraves

Description

@rorygraves
  private val q = new ThreadLocal[MessageQueue]() {
    override def initialValue = {
      val queue = mailboxType.create(Some(self), Some(system))
      CallingThreadDispatcherQueues(system).registerQueue(CallingThreadMailbox.this, queue)
      queue
    }
  }

a is reference - ScalaClean replaced this with the broken code:

  private val q = 

workspace/akka/akka-testkit/src/main/scala/akka/testkit/CallingThreadDispatcher.scala:296

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions