Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Add @OverRide annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
maltemoeser committed Mar 23, 2016
1 parent 3e0fc08 commit a36be78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ protected void constructSetOfValidHashes() throws BlockStoreException {
Collections.reverse(blockHashesInCorrectOrder);
}

@Override
public SimplifiedBlockChain getSimplifiedValidBlockChain() {
return new SimplifiedBlockChain(blockHashToHeight, blockHashesInCorrectOrder);
}

@Override
public BlockChain getChain() {
return chain;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public ProductionDatabase(ApplicationConfig properties) {
waitUntilIndexesAreOnline();
}

@Override
public void initialize() {
initializeInDirectory(properties.getDatabaseDirectory());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public ReadOnlyDatabase(ApplicationConfig properties) {
waitUntilIndexesAreOnline();
}

@Override
public void initialize() {
initializeInDirectory(properties.getDatabaseDirectory());
}
Expand Down

0 comments on commit a36be78

Please sign in to comment.