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:
srowen 2008-04-16 00:38:54 +00:00
parent aa5cdcb64b
commit 989dc395f0

View file

@ -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;
}