From 95d42db773f96e705231557ea2f33864fa4439cb Mon Sep 17 00:00:00 2001 From: AlphaX-Projects <77661270+AlphaX-Projects@users.noreply.github.com> Date: Sat, 29 Jun 2024 11:52:22 +0200 Subject: [PATCH] Removed unnecessary semicolons --- src/main/java/org/qortal/api/SearchMode.java | 2 +- src/main/java/org/qortal/api/model/ConnectedPeer.java | 2 +- .../java/org/qortal/api/resource/TransactionsResource.java | 4 ++-- src/main/java/org/qortal/controller/RestartNode.java | 2 +- src/main/java/org/qortal/controller/Synchronizer.java | 4 ++-- .../org/qortal/data/transaction/ArbitraryTransactionData.java | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/qortal/api/SearchMode.java b/src/main/java/org/qortal/api/SearchMode.java index 85c1c61a..e095b8b7 100644 --- a/src/main/java/org/qortal/api/SearchMode.java +++ b/src/main/java/org/qortal/api/SearchMode.java @@ -2,5 +2,5 @@ package org.qortal.api; public enum SearchMode { LATEST, - ALL; + ALL } diff --git a/src/main/java/org/qortal/api/model/ConnectedPeer.java b/src/main/java/org/qortal/api/model/ConnectedPeer.java index c4198654..996b373f 100644 --- a/src/main/java/org/qortal/api/model/ConnectedPeer.java +++ b/src/main/java/org/qortal/api/model/ConnectedPeer.java @@ -17,7 +17,7 @@ public class ConnectedPeer { public enum Direction { INBOUND, - OUTBOUND; + OUTBOUND } public Direction direction; diff --git a/src/main/java/org/qortal/api/resource/TransactionsResource.java b/src/main/java/org/qortal/api/resource/TransactionsResource.java index ca2404ea..6e4db30c 100644 --- a/src/main/java/org/qortal/api/resource/TransactionsResource.java +++ b/src/main/java/org/qortal/api/resource/TransactionsResource.java @@ -330,8 +330,8 @@ public class TransactionsResource { public enum ConfirmationStatus { CONFIRMED, UNCONFIRMED, - BOTH; - } + BOTH + } @GET @Path("/search") diff --git a/src/main/java/org/qortal/controller/RestartNode.java b/src/main/java/org/qortal/controller/RestartNode.java index b8d81b85..e7a738aa 100644 --- a/src/main/java/org/qortal/controller/RestartNode.java +++ b/src/main/java/org/qortal/controller/RestartNode.java @@ -2,7 +2,7 @@ package org.qortal.controller; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; -import org.qortal.ApplyRestart;; +import org.qortal.ApplyRestart; import org.qortal.globalization.Translator; import org.qortal.gui.SysTray; import org.qortal.repository.RepositoryManager; diff --git a/src/main/java/org/qortal/controller/Synchronizer.java b/src/main/java/org/qortal/controller/Synchronizer.java index 113b5846..e15db208 100644 --- a/src/main/java/org/qortal/controller/Synchronizer.java +++ b/src/main/java/org/qortal/controller/Synchronizer.java @@ -90,8 +90,8 @@ public class Synchronizer extends Thread { private static Synchronizer instance; public enum SynchronizationResult { - OK, NOTHING_TO_DO, GENESIS_ONLY, NO_COMMON_BLOCK, TOO_DIVERGENT, NO_REPLY, INFERIOR_CHAIN, INVALID_DATA, NO_BLOCKCHAIN_LOCK, REPOSITORY_ISSUE, SHUTTING_DOWN, CHAIN_TIP_TOO_OLD; - } + OK, NOTHING_TO_DO, GENESIS_ONLY, NO_COMMON_BLOCK, TOO_DIVERGENT, NO_REPLY, INFERIOR_CHAIN, INVALID_DATA, NO_BLOCKCHAIN_LOCK, REPOSITORY_ISSUE, SHUTTING_DOWN, CHAIN_TIP_TOO_OLD + } public static class NewChainTipEvent implements Event { private final BlockData priorChainTip; diff --git a/src/main/java/org/qortal/data/transaction/ArbitraryTransactionData.java b/src/main/java/org/qortal/data/transaction/ArbitraryTransactionData.java index 6e55e280..f3828de8 100644 --- a/src/main/java/org/qortal/data/transaction/ArbitraryTransactionData.java +++ b/src/main/java/org/qortal/data/transaction/ArbitraryTransactionData.java @@ -25,8 +25,8 @@ public class ArbitraryTransactionData extends TransactionData { // "data" field types public enum DataType { RAW_DATA, - DATA_HASH; - } + DATA_HASH + } // Methods public enum Method {