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