rss expanded integration pass

This commit is contained in:
Henry Schimke
2022-12-17 10:57:17 -06:00
parent 9533a5165e
commit f73be4ffdc

View File

@@ -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
// } // }