Minor performance improvements: less array copying in parseBlock (only if the key is needed and reuse the trim and slightly faster (System.arraycopy instead of Arrays.copyOf) array copying Code cleanup