mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
rss expanded integration pass
This commit is contained in:
@@ -160,10 +160,15 @@ impl OneDReader for RSSExpandedReader {
|
|||||||
self.pairs.clear();
|
self.pairs.clear();
|
||||||
self.startFromEven = false;
|
self.startFromEven = false;
|
||||||
// try {
|
// try {
|
||||||
let possible = Self::constructRXingResult(&self.decodeRow2pairs(rowNumber, row)?);
|
if let Ok(decoded_two_pairs) = self.decodeRow2pairs(rowNumber, row) {
|
||||||
if possible.is_ok() {
|
if let Ok(possible_result) = Self::constructRXingResult(&decoded_two_pairs) {
|
||||||
return possible;
|
return Ok(possible_result)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
// let possible = Self::constructRXingResult(&self.decodeRow2pairs(rowNumber, row)?);
|
||||||
|
// if possible.is_ok() {
|
||||||
|
// return possible;
|
||||||
|
// }
|
||||||
// } catch (NotFoundException e) {
|
// } catch (NotFoundException e) {
|
||||||
// OK
|
// OK
|
||||||
// }
|
// }
|
||||||
|
|||||||
Reference in New Issue
Block a user