[bisq-network/bisq] Monitor release: Showing off (#2348)

Manfred Karrer notifications at github.com
Fri Feb 1 10:51:51 UTC 2019


ManfredKarrer commented on this pull request.

In P2PNetworkLoad.java:

Why not use 
`buckets.putIfAbsent(className, new Counter());
buckets.get(className).increment();`

instead of 
`try {
                    buckets.get(className).increment();
                } catch (NullPointerException nullPointerException) {
                    buckets.put(className, new Counter());
                }`



-- 
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/pull/2348#pullrequestreview-199019864
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190201/33932d29/attachment-0001.html>


More information about the bisq-github mailing list