mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Replace "throws Exception" with the specific Exception(s) thrown.
This commit is contained in:
@@ -455,7 +455,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean nextEntry(@NotNull final EngineEntryCallback callback) throws InterruptedException {
|
||||
public boolean nextEntry(@NotNull final EngineEntryCallback callback) {
|
||||
|
||||
return modificationIterator.nextEntry(new EntryCallback() {
|
||||
|
||||
@@ -1719,7 +1719,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? supe
|
||||
* @return true if an entry was processed
|
||||
*/
|
||||
@Override
|
||||
public boolean nextEntry(@NotNull final EntryCallback entryCallback, final int chronicleId) throws InterruptedException {
|
||||
public boolean nextEntry(@NotNull final EntryCallback entryCallback, final int chronicleId) {
|
||||
long position = this.position;
|
||||
while (true) {
|
||||
long oldPosition = position;
|
||||
|
||||
Reference in New Issue
Block a user