- added required inheritance method in MockDB to prevent compile error

This commit is contained in:
Roland Kofler 2014-06-22 17:16:00 +02:00
parent 234fd8a43c
commit daffe648c1
1 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,9 @@
package org.ethereum.trie;
import java.io.IOException;
import java.util.Map.Entry;
import java.util.Spliterator;
import java.util.function.Consumer;
import org.iq80.leveldb.DB;
import org.iq80.leveldb.DBException;
@ -129,4 +132,16 @@ public class MockDB implements DB {
return addedItems;
}
@Override
public void forEach(Consumer<? super Entry<byte[], byte[]>> action) {
// TODO Auto-generated method stub
}
@Override
public Spliterator<Entry<byte[], byte[]>> spliterator() {
// TODO Auto-generated method stub
return null;
}
}