mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Fix codacy problem
Avoid throwing null pointer exceptions.
This commit is contained in:
parent
efbaa5be73
commit
05d0ce0ef8
@ -66,7 +66,7 @@ class SystemCommandExecutor {
|
||||
*/
|
||||
public SystemCommandExecutor(final List<String> cmdOptions) {
|
||||
if (cmdOptions == null)
|
||||
throw new NullPointerException("No command params specified.");
|
||||
throw new IllegalStateException("No command params specified.");
|
||||
|
||||
this.cmdOptions = cmdOptions;
|
||||
this.sudoPassword = null;
|
||||
|
Loading…
Reference in New Issue
Block a user