Skip to content

Commit

Permalink
fix: remove setName usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ancavar committed Apr 28, 2023
1 parent ee0c1fb commit cf702a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion trees/src/main/kotlin/bst/db/controllers/SQLController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ class SQLController: Controller<BSTNode<Int, String>, BSTree<Int, String>>{
val rootNode = deserializeNodeDoubleKey(tree.rootNode)
val deserializedTree: BSTree<Int, String> = BSTree(rootNode?.key, rootNode?.value)
deserializedTree.rootNode = rootNode
deserializedTree.setName(tree.treeName)
return deserializedTree
}
}
Expand Down

0 comments on commit cf702a7

Please sign in to comment.