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