Simplify hex char array creation

This commit is contained in:
Enrique Zamudio
2013-06-12 13:08:58 -05:00
parent 8f91cb768c
commit 406eb91d4b
@@ -3,7 +3,7 @@ package com.solab.iso8583.util;
/** Utility class to perform HEX encoding/decoding of values. */
public final class HexCodec {
static final char[] HEX = new char[]{ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
static final char[] HEX = "0123456789ABCDEF".toCharArray();
private HexCodec(){}