mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Minor javadoc fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@167 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
7ba2b30d43
commit
77ce643b61
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue