mirror of
https://github.com/zxing/zxing.git
synced 2025-01-13 04:07:27 -08:00
Added workaround for NoSuchMethodError on some Nokia JVMs with a superfluous abstract method (thanks Marnix)
git-svn-id: https://zxing.googlecode.com/svn/trunk@364 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
aa5cdcb64b
commit
989dc395f0
|
@ -206,4 +206,11 @@ public abstract class AbstractOneDReader implements OneDReader {
|
|||
return totalVariance / (float) patternLength;
|
||||
}
|
||||
|
||||
// This declaration should not be necessary, since this class is
|
||||
// abstract and so does not have to provide an implementation for every
|
||||
// method of an interface it implements, but it is causing NoSuchMethodError
|
||||
// issues on some Nokia JVMs. So we add this superfluous declaration:
|
||||
|
||||
public abstract Result decodeRow(int rowNumber, BitArray row, Hashtable hints) throws ReaderException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue