forked from Qortal/qortal
Removed unnecessary continue (last statement in a loop)
This commit is contained in:
parent
64537ad705
commit
cc95106019
@ -233,8 +233,7 @@ public class AddressesResource {
|
||||
}
|
||||
|
||||
} catch (DataException e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sort by level
|
||||
|
@ -159,8 +159,7 @@ public class BlockMinter extends Thread {
|
||||
int level = mintingAccount.getEffectiveMintingLevel();
|
||||
if (level < BlockChain.getInstance().getMinAccountLevelForBlockSubmissions()) {
|
||||
madi.remove();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Needs a mutable copy of the unmodifiableList
|
||||
|
@ -1921,8 +1921,7 @@ public class Controller extends Thread {
|
||||
// Disregard peers that don't have a recent block
|
||||
if (peerChainTipData.getTimestamp() == null || peerChainTipData.getTimestamp() < minLatestBlockTimestamp) {
|
||||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return peers;
|
||||
|
@ -538,7 +538,6 @@ public class OnlineAccountsManager {
|
||||
|
||||
if (++i > 1 + 1) {
|
||||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
} catch (DataException e) {
|
||||
|
@ -208,8 +208,7 @@ public class ArbitraryDataCleanupManager extends Thread {
|
||||
Base58.encode(arbitraryTransactionData.getSignature())));
|
||||
|
||||
ArbitraryTransactionUtils.convertFileToChunks(arbitraryTransactionData, now, STALE_FILE_TIMEOUT);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} catch (DataException e) {
|
||||
@ -284,8 +283,7 @@ public class ArbitraryDataCleanupManager extends Thread {
|
||||
}
|
||||
|
||||
} catch (DataException e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return pathList;
|
||||
|
@ -230,8 +230,7 @@ public class ArbitraryDataManager extends Thread {
|
||||
// Remove transactions that we already have local data for
|
||||
if (hasLocalData(arbitraryTransaction)) {
|
||||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (signatures.isEmpty()) {
|
||||
@ -313,8 +312,7 @@ public class ArbitraryDataManager extends Thread {
|
||||
// Remove transactions that we already have local data for
|
||||
if (hasLocalMetadata(arbitraryTransaction)) {
|
||||
iterator.remove();
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (signatures.isEmpty()) {
|
||||
|
@ -291,7 +291,6 @@ public class ArbitraryDataStorageManager extends Thread {
|
||||
arbitraryTransactionDataList.add(arbitraryTransactionData);
|
||||
|
||||
} catch (DataException e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
@ -345,7 +344,6 @@ public class ArbitraryDataStorageManager extends Thread {
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -724,8 +724,7 @@ public class TradeBot implements Listener {
|
||||
|
||||
} catch (DataException e) {
|
||||
LOGGER.info("Unable to determine failed state of AT {}", crossChainTradeData.qortalAtAddress);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return updatedCrossChainTrades;
|
||||
|
@ -180,8 +180,7 @@ public class SyncReport {
|
||||
|
||||
// Sync went bad
|
||||
syncEvent = null;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (SyncEvent se : syncEvents) {
|
||||
|
Loading…
Reference in New Issue
Block a user