Slightly optimized logic in fetchArbitraryDataFiles()

This commit is contained in:
CalDescent 2022-02-06 15:45:40 +00:00
parent fa447ccded
commit 9ec4e24ef6

View File

@ -170,7 +170,6 @@ public class ArbitraryDataFileManager extends Thread {
// Invalidate the hosted transactions cache as we are now hosting something new // Invalidate the hosted transactions cache as we are now hosting something new
ArbitraryDataStorageManager.getInstance().invalidateHostedTransactionsCache(); ArbitraryDataStorageManager.getInstance().invalidateHostedTransactionsCache();
}
// Check if we have all the files we need for this transaction // Check if we have all the files we need for this transaction
if (arbitraryDataFile.allFilesExist()) { if (arbitraryDataFile.allFilesExist()) {
@ -188,6 +187,8 @@ public class ArbitraryDataFileManager extends Thread {
} }
} }
}
return receivedAtLeastOneFile; return receivedAtLeastOneFile;
} }