iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyfaust...@apache.org
Subject [29/31] incubator-iota git commit: Resolved the error for MonitorSpec
Date Tue, 29 Nov 2016 23:29:28 GMT
Resolved the error for MonitorSpec


Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/436c504f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/436c504f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/436c504f

Branch: refs/heads/master
Commit: 436c504f32435f4ebccfc99515460d7c617d6105
Parents: 7911821
Author: Shivansh <shiv4nsh@gmail.com>
Authored: Tue Nov 22 15:26:31 2016 +0530
Committer: Shivansh <shiv4nsh@gmail.com>
Committed: Tue Nov 22 15:26:31 2016 +0530

----------------------------------------------------------------------
 fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/436c504f/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala b/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
index 98fa3e8..340958f 100644
--- a/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
+++ b/fey-core/src/main/scala/org/apache/iota/fey/Monitor.scala
@@ -87,7 +87,7 @@ protected class Monitor(eventsStore: Trie) extends Actor with ActorLogging
{
     case _ =>
   }
 
-  def logInfo(path: String, event: String, timestamp: Long, info: String, reason: Option[Throwable]
= null): Unit = {
+  def logInfo(path: String, event: String, timestamp: Long, info: String, reason: Option[Throwable]
= None): Unit = {
     if (reason.isDefined) {
       log.error(reason.get, s"$event | $timestamp | $path | $info")
     }else{


Mime
View raw message