[bisq-network/bisq] Resolve deprecation warnings encountered in gradle build (#1815)

Devin Bileck notifications at github.com
Thu Oct 25 16:13:08 UTC 2018


In `Task :assets:compileJava`, I noticed a lot of assets are using DefaultAddressValidator.
e.g.
```
assets\src\main\java\bisq\asset\coins\Burstcoin.java:26: warning: [deprecation] DefaultAddressValidator in bisq.asset has been deprecated
        super("Burstcoin", "BURST", new DefaultAddressValidator());
                                        ^
```

Which means `Task :assets:compileTestJava` has warnings like:
```
assets\src\test\java\bisq\asset\coins\BurstcoinTest.java:22: warning: [deprecation] AbstractAssetWithDefaultValidatorTest in bisq.asset has been deprecated
public class BurstcoinTest extends AbstractAssetWithDefaultValidatorTest {
                                   ^
```

These are the coins using DefaultAddressValidator:
- Burstcoin
- Counterparty
- DarkNet
- Decred
- DynamicCoin
- Espers
- Ether Classic
- Gridcoin
- LBRY Credits
- Lisk
- MaidSafeCoin
- Namecoin
- Nav Coin
- NuBits
- Pepe Cash
- PostCoin
- ReddCoin
- Safe FileSystem Coin
- Siacoin
- Siafund
- Sibcoin
- STEEM
- Unobtanium
- Zcoin

I assume these assets are likely to be removed soon enough so not worth implementing custom validators.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/1815#issuecomment-433112999
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181025/23b2ff65/attachment.html>


More information about the bisq-github mailing list