/**
* The history tree that sits underneath.
*/
- private final HistoryTree fSht;
+ private final @NonNull HistoryTree fSht;
/** Indicates if the history tree construction is done */
private volatile boolean fFinishedBuilding = false;
* If there was a problem during creation
*/
@VisibleForTesting
- protected HistoryTree initializeSHT(@NonNull HTConfig conf) throws IOException {
+ protected @NonNull HistoryTree initializeSHT(@NonNull HTConfig conf) throws IOException {
return new HistoryTree(conf);
}
* If there was a problem during creation
*/
@VisibleForTesting
- protected HistoryTree initializeSHT(@NonNull File existingStateFile, int providerVersion) throws IOException {
+ protected @NonNull HistoryTree initializeSHT(@NonNull File existingStateFile, int providerVersion) throws IOException {
return new HistoryTree(existingStateFile, providerVersion);
}
*
* @return The history tree
*/
- protected final HistoryTree getSHT() {
+ protected final @NonNull HistoryTree getSHT() {
return fSht;
}