zxing 0ea0ecddc534a54be5d6f0b9ef0448a1aba1a505

This commit is contained in:
Henry Schimke
2023-01-09 09:55:56 -06:00
parent af9b5fc0ed
commit 5a51bb1274
2 changed files with 1 additions and 2 deletions

View File

@@ -273,7 +273,6 @@ fn test_parse_boolean() {
fullMatrix.setRegion(0, 0, 3, 3).expect("must set");
let mut centerMatrix = BitMatrix::new(3, 3).unwrap();
centerMatrix.setRegion(1, 1, 1, 1).expect("must set");
let _emptyMatrix24 = BitMatrix::new(2, 4).unwrap();
let mut matrix = vec![vec![false; 3]; 3];
// boolean[][] matrix = new boolean[3][3];

View File

@@ -639,7 +639,7 @@ fn encodeMinimally(input: Rc<Input>) -> Result<RXingResult, Exceptions> {
}
if minimalJ < 0 {
return Err(Exceptions::RuntimeException(Some(format!(
return Err(Exceptions::IllegalStateException(Some(format!(
"Internal error: failed to encode \"{}\"",
input
))));