Updated Java formatter to better handle wrapping.