From de76eff1a448b2adc38db7a9e9ad665f4ed29867 Mon Sep 17 00:00:00 2001 From: iiimoon Date: Fri, 1 Jun 2018 19:11:42 -0500 Subject: [PATCH 1/3] SF_SWITCH_FALLTHROUGH fix SF_SWITCH_FALLTHROUGH fix --- src/main/java/org/tron/core/services/WitnessService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/tron/core/services/WitnessService.java b/src/main/java/org/tron/core/services/WitnessService.java index 083ab6636d3..de7c0f4e5c5 100755 --- a/src/main/java/org/tron/core/services/WitnessService.java +++ b/src/main/java/org/tron/core/services/WitnessService.java @@ -131,6 +131,7 @@ private void blockProductionLoop() throws InterruptedException { break; case TIME_OUT: logger.debug("Time out"); + break; case EXCEPTION_PRODUCING_BLOCK: logger.info("Exception"); break; From f3374a613ba1c206d2a7db9d9cfa836258010a5c Mon Sep 17 00:00:00 2001 From: iiimoon Date: Fri, 1 Jun 2018 20:16:15 -0500 Subject: [PATCH 2/3] confusing code removed reSet method is same as "reset" method from parent class, removing it --- src/main/java/org/tron/core/db/UtxoStore.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/tron/core/db/UtxoStore.java b/src/main/java/org/tron/core/db/UtxoStore.java index bce3baae2e0..da9c07204bf 100755 --- a/src/main/java/org/tron/core/db/UtxoStore.java +++ b/src/main/java/org/tron/core/db/UtxoStore.java @@ -44,9 +44,6 @@ private UtxoStore(@Value("utxo") String dbName) { super(dbName); } - public void reSet() { - this.dbSource.resetDb(); - } public byte[] find(byte[] key) { return dbSource.getData(key); From 1071b7e5b55b6c0aef770e1748a70ff0a4883baf Mon Sep 17 00:00:00 2001 From: iiimoon Date: Sat, 2 Jun 2018 13:09:47 -0500 Subject: [PATCH 3/3] commit to kick off new build commit to kick off new build , no code changes --- src/main/java/org/tron/core/db/UtxoStore.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/tron/core/db/UtxoStore.java b/src/main/java/org/tron/core/db/UtxoStore.java index da9c07204bf..d56579d0ef5 100755 --- a/src/main/java/org/tron/core/db/UtxoStore.java +++ b/src/main/java/org/tron/core/db/UtxoStore.java @@ -136,4 +136,5 @@ public Object get(byte[] key) { public boolean has(byte[] key) { return false; } + } \ No newline at end of file