R. J. Mathar - 2014-07-03

In cases where addresses in the modbus device are used, parsing integers in the style of

ref = (Integer.decode(args[1])).intValue();

is preferable over

ref = Integer.parseInt(args[1]) ;

so the users can enter integers explicitly starting with 0x, 0X or 0 for hex- and octal-based address lists.