Minor javadoc fix

git-svn-id: https://zxing.googlecode.com/svn/trunk@167 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2008-02-05 22:01:36 +00:00
parent 7ba2b30d43
commit 77ce643b61

View file

@ -128,9 +128,12 @@ public abstract class AbstractUPCEANReader extends AbstractOneDReader implements
}
/**
* Computes the UPC/EAN checksum on a string of digits
* @param s
* @return
* Computes the UPC/EAN checksum on a string of digits, and reports
* whether the checksum is correct or not.
*
* @param s string of digits to check
* @return true iff string of digits passes the UPC/EAN checksum algorithm
* @throws ReaderException if the string does not contain only digits
*/
protected boolean checkChecksum(String s) throws ReaderException {
int sum = 0;