cleanup more warnings and deprecated function use

This commit is contained in:
Henry Schimke
2022-12-30 17:00:35 -06:00
parent b383d7b0d4
commit 29a4040f2d
38 changed files with 158 additions and 133 deletions

View File

@@ -171,7 +171,7 @@ impl Code93Reader {
return Ok([patternStart, i]);
}
patternStart += (theCounters[0] + theCounters[1]) as usize;
theCounters.copy_within(2..(counterPosition - 1 + 2), 0);
// System.arraycopy(theCounters, 2, theCounters, 0, counterPosition - 1);
theCounters[counterPosition - 1] = 0;