mirror of
https://github.com/zxing/zxing.git
synced 2024-09-20 05:27:32 -07: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
|
* Computes the UPC/EAN checksum on a string of digits, and reports
|
||||||
* @param s
|
* whether the checksum is correct or not.
|
||||||
* @return
|
*
|
||||||
|
* @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 {
|
protected boolean checkChecksum(String s) throws ReaderException {
|
||||||
int sum = 0;
|
int sum = 0;
|
||||||
|
|
Loading…
Reference in a new issue