mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
zxing 0ea0ecddc534a54be5d6f0b9ef0448a1aba1a505
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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
|
||||
))));
|
||||
|
||||
Reference in New Issue
Block a user