Hi,
i have found a bug in the BarcodeEAN class. If i invoke the createAwtImage methode with BarCode Typ 2 (EAN) i get a exception.
Bug description:
no break statment in swich block for Constant EAN8
Code Snippet:
int width = 0;
byte bars[] = null;
switch (codeType) {
case EAN13:
bars = getBarsEAN13(code);
width = 11 + 12 * 7;
break;
case EAN8:
bars = getBarsEAN8(code);
width = 11 + 8 * 7;
case UPCA:
Please could you fix the Bug.
| Mit freundlichen Gr��en / Best regards Rainer Drexler ______________________________________________________________________________________________________________________________________ Kontakt: |
| GfD Gesellschaft f�r Datenverarbeitung mbH Marktwarenwirtschaft / Entwicklung Industriestr. 10 42929 Wermelskirchen Tel.: +49-2196-76-2880 Fax: +49-2196-76-1674 eMail: [EMAIL PROTECTED] Besuchen Sie uns auch im Internet unter http://www.gfd.de |
