src/main/java/com/github/jnidzwetzki/bitfinex/v2/callback/channel/account/info/NotificationHandler.java
Method jsonToBitfinexSubmittedOrder
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);