mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
WalletTool: remove unused/obsolete print help code
This code has been unused since the conversion to picocli which generates help text and automatically handles printing it. The `wallet-tool-help.txt` file was deleted in the commit with the picocli implementation. Note: this also removes the last use of Guava in WalletTool.
This commit is contained in:
parent
41885df896
commit
1a30c00df8
@ -39,7 +39,6 @@ import org.bitcoinj.wallet.CoinSelector;
|
||||
import org.bitcoinj.wallet.DeterministicKeyChain;
|
||||
import org.bitcoinj.wallet.DeterministicSeed;
|
||||
|
||||
import com.google.common.io.Resources;
|
||||
import com.google.protobuf.ByteString;
|
||||
|
||||
import org.bitcoinj.core.AbstractBlockChain;
|
||||
@ -339,11 +338,6 @@ public class WalletTool implements Callable<Integer> {
|
||||
|
||||
@Override
|
||||
public Integer call() throws IOException, BlockStoreException {
|
||||
if (help) {
|
||||
System.out.println(Resources.toString(WalletTool.class.getResource("wallet-tool-help.txt"), StandardCharsets.UTF_8));
|
||||
return 0;
|
||||
}
|
||||
|
||||
ActionEnum action;
|
||||
try {
|
||||
action = ActionEnum.valueOf(actionStr.toUpperCase().replace("-", "_"));
|
||||
|
Loading…
Reference in New Issue
Block a user