You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iota.apache.org by to...@apache.org on 2016/11/29 23:29:29 UTC

[30/31] incubator-iota git commit: Removed the null error

Removed the null error


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

Branch: refs/heads/master
Commit: 800ceeadc1af59acf25b987ca7f75f164d8f5133
Parents: 436c504
Author: Shivansh <sh...@gmail.com>
Authored: Tue Nov 22 15:44:32 2016 +0530
Committer: Shivansh <sh...@gmail.com>
Committed: Tue Nov 22 15:44:32 2016 +0530

----------------------------------------------------------------------
 fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/800ceead/fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala
----------------------------------------------------------------------
diff --git a/fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala b/fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala
index bbcb50d..0e2a087 100644
--- a/fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala
+++ b/fey-core/src/main/scala/org/apache/iota/fey/TrieNode.scala
@@ -101,11 +101,11 @@ protected class Trie(systemName: String){
   }
 
   def print:JsValue = {
-    getObject(root, null)
+    getObject(root, None)
   }
 
   def printWithEvents:JsValue = {
-    getObjectEvent(root, null)
+    getObjectEvent(root, None)
   }
 
   def getRootChildren():ArrayBuffer[TrieNode] = {