Skip to content
This repository has been archived by the owner on Jul 26, 2021. It is now read-only.

Commit

Permalink
Fix public method must have explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Galic committed Dec 25, 2017
1 parent ff6220a commit 2cc953b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/com/gu/tip/PathsActor.scala
Expand Up @@ -7,7 +7,7 @@ import akka.actor.{Actor, ActorRef, ActorSystem, Props}
case class Path(name: String, description: String)

class EnrichedPath(path: Path) extends LazyLogging {
def verify() = {
def verify(): Unit = {
logger.info(s"${path.name} is now verified")
_verified = true
}
Expand Down Expand Up @@ -40,7 +40,7 @@ class PathsActor(val paths: Map[String, EnrichedPath]) extends Actor with LazyLo

private var _unverifiedPathCount = paths.size

def receive = {
def receive: Receive = {
case Verify(pathname) =>
logger.trace("Paths got Verify message")

Expand Down

0 comments on commit 2cc953b

Please sign in to comment.