Skip to content

Commit

Permalink
refactor: remove unused Journal#clear for js
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-py committed May 5, 2019
1 parent 12090bf commit 849b091
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/src/main/scala/com/olegpy/stm/internal/StorePlatform.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ trait StorePlatform {
()
}

def clear(): Unit = {
uncommitted.clear()
()
}

def copy(): Journal = new Journal(
js.Dynamic.newInstance(js.Dynamic.global.Map)(uncommitted),
readKeys
Expand Down

0 comments on commit 849b091

Please sign in to comment.