mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
DefaultAddressParserProvider: deprecate fromNetworks()
It was already package-private and is only used by deprecated methods in `AddressParser`.
This commit is contained in:
parent
c27947d0da
commit
d394ce63a5
@ -76,10 +76,11 @@ class DefaultAddressParserProvider implements AddressParser.AddressParserProvide
|
||||
}
|
||||
|
||||
/**
|
||||
* Dynamically create a new AddressParser using a snapshot of currently configured networks
|
||||
* from Networks.get().
|
||||
* Dynamically create a new {@link AddressParser} using a snapshot of currently configured networks
|
||||
* from {@code Networks.get()}. This is only used by deprecated methods in {@link AddressParser}.
|
||||
* @return A backward-compatible parser
|
||||
*/
|
||||
@Deprecated
|
||||
static DefaultAddressParserProvider fromNetworks() {
|
||||
List<Network> nets = Networks.get().stream()
|
||||
.map(NetworkParameters::network)
|
||||
|
Loading…
Reference in New Issue
Block a user