blockchain/api-v1-client-java

Best practices, variables naming and readability

ecerchia opened this issue · 1 comments

Ex https://github.com/blockchain/api-v1-client-java/blob/master/src/main/java/info/blockchain/api/blockexplorer/Address.java#L31

Ex:
Integer unconfirmedTxBlockHeight = -1;
if (tx.get("block_height").getAsLong() != null) {
blockHeight = tx.get("block_height").getAsLong();
} else {
blockHeight = unconfirmedTxBlockHeight;
}

Memory leak and UnsupportedEncodingException handling fixed in 0206d8d