Skip to content

Commit

Permalink
inside actor we can use val
Browse files Browse the repository at this point in the history
  • Loading branch information
vmorarian committed Jun 24, 2013
1 parent f02a8f1 commit c9792e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smtp/src/main/scala/com/heluna/actor/MetricsActor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ class MetricsActor extends Actor with Redis with Logging {
case msg => logger error "Got unknown message in MetricsActor: " + msg.toString + " " + self.path.name + " at " + new Date().getTime
}

def metricsKey = new SimpleDateFormat("yyyy/MM/dd").format(new Date())
private val metricsKey = new SimpleDateFormat("yyyy/MM/dd").format(new Date())

}

0 comments on commit c9792e7

Please sign in to comment.