mirror of
https://github.com/status-im/ethereumj-personal.git
synced 2025-01-14 05:44:17 +00:00
- added required inheritance method in MockDB to prevent compile error
This commit is contained in:
parent
234fd8a43c
commit
daffe648c1
@ -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;
|
||||
@ -128,5 +131,17 @@ public class MockDB implements DB {
|
||||
public int getAddedItems() {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user