projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small style stuff
[zxing.git]
/
core
/
src
/
com
/
google
/
zxing
/
qrcode
/
decoder
/
Decoder.java
diff --git
a/core/src/com/google/zxing/qrcode/decoder/Decoder.java
b/core/src/com/google/zxing/qrcode/decoder/Decoder.java
index
22cdeb0
..
520e076
100644
(file)
--- a/
core/src/com/google/zxing/qrcode/decoder/Decoder.java
+++ b/
core/src/com/google/zxing/qrcode/decoder/Decoder.java
@@
-52,12
+52,10
@@
public final class Decoder {
*
\r
* @param image booleans representing white/black QR Code modules
\r
* @return text and bytes encoded within the QR Code
\r
*
\r
* @param image booleans representing white/black QR Code modules
\r
* @return text and bytes encoded within the QR Code
\r
- * @throws NotFoundException if the QR Code cannot be found
\r
* @throws FormatException if the QR Code cannot be decoded
\r
* @throws ChecksumException if error correction fails
\r
*/
\r
* @throws FormatException if the QR Code cannot be decoded
\r
* @throws ChecksumException if error correction fails
\r
*/
\r
- public DecoderResult decode(boolean[][] image, Hashtable hints)
\r
- throws ChecksumException, FormatException, NotFoundException {
\r
+ public DecoderResult decode(boolean[][] image, Hashtable hints) throws ChecksumException, FormatException {
\r
int dimension = image.length;
\r
BitMatrix bits = new BitMatrix(dimension);
\r
for (int i = 0; i < dimension; i++) {
\r
int dimension = image.length;
\r
BitMatrix bits = new BitMatrix(dimension);
\r
for (int i = 0; i < dimension; i++) {
\r
@@
-70,7
+68,7
@@
public final class Decoder {
return decode(bits, hints);
\r
}
\r
\r
return decode(bits, hints);
\r
}
\r
\r
- public DecoderResult decode(BitMatrix bits) throws ChecksumException, FormatException
, NotFoundException
{
\r
+ public DecoderResult decode(BitMatrix bits) throws ChecksumException, FormatException {
\r
return decode(bits, null);
\r
}
\r
\r
return decode(bits, null);
\r
}
\r
\r