if (BARCODE_CODE39.equals(type))
{
try
{
return new Code39Barcode(data, checksum, false);
}
catch (BarcodeException e)
{
logger.error("Wrong code39(ext) data supplied", e);
return null;
}
}
if (BARCODE_CODE39EXT.equals(type))
{
try
{
return new Code39Barcode(data, checksum, true);
}
catch (BarcodeException e)
{
logger.error("Wrong code39(ext) data supplied", e);
return null;