jnidzwetzki/bitfinex-v2-wss-api-java

View on GitHub
src/main/java/com/github/jnidzwetzki/bitfinex/v2/callback/channel/account/info/NotificationHandler.java

Summary

Maintainability
A
1 hr
Test Coverage

Method jsonToBitfinexSubmittedOrder has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private BitfinexSubmittedOrder jsonToBitfinexSubmittedOrder(JSONArray array) {
        final JSONArray orderJson = array.optJSONArray(4);
        final long oid = orderJson.optLong(0, -1);
        final long gid = orderJson.optLong(1, -1);
        final long cid = orderJson.optLong(2, -1);

    There are no issues that match your filters.

    Category
    Status