mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Put 'empty' comments inside ignored catch blocks
Follow codacy rule against empty blocks.
This commit is contained in:
parent
2ba0ee9d5d
commit
ba8b9ccf54
4 changed files with 4 additions and 0 deletions
|
@ -188,6 +188,7 @@ public class Scaffold {
|
||||||
firstException = Optional.of(p.getShutdownExceptions().get(0));
|
firstException = Optional.of(p.getShutdownExceptions().get(0));
|
||||||
}
|
}
|
||||||
} catch (InterruptedException ignored) {
|
} catch (InterruptedException ignored) {
|
||||||
|
// empty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,6 +109,7 @@ public class BitcoinDaemon extends AbstractLinuxProcess implements LinuxProcess
|
||||||
|
|
||||||
log.info("Stopped");
|
log.info("Stopped");
|
||||||
} catch (InterruptedException ignored) {
|
} catch (InterruptedException ignored) {
|
||||||
|
// empty
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
this.shutdownExceptions.add(new IllegalStateException("Error shutting down bitcoind.", e));
|
this.shutdownExceptions.add(new IllegalStateException("Error shutting down bitcoind.", e));
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,7 @@ class ThreadedStreamHandler extends Thread {
|
||||||
try {
|
try {
|
||||||
Thread.sleep(millis);
|
Thread.sleep(millis);
|
||||||
} catch (InterruptedException ignored) {
|
} catch (InterruptedException ignored) {
|
||||||
|
// empty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ public class ApiTestCase {
|
||||||
try {
|
try {
|
||||||
MILLISECONDS.sleep(ms);
|
MILLISECONDS.sleep(ms);
|
||||||
} catch (InterruptedException ignored) {
|
} catch (InterruptedException ignored) {
|
||||||
|
// empty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue