diff --git a/src/oned.rs b/src/oned.rs index d53dc3c..b344df0 100644 --- a/src/oned.rs +++ b/src/oned.rs @@ -4355,7 +4355,7 @@ pub struct MultiFormatOneDReader { impl MultiFormatOneDReader { - pub fn new( hints: &Map) -> MultiFormatOneDReader { + pub fn new( hints: &HashMap) -> MultiFormatOneDReader { let possible_formats: Collection = if hints == null { null } else { hints.get(DecodeHintType::POSSIBLE_FORMATS) as Collection }; let use_code39_check_digit: bool = hints != null && hints.get(DecodeHintType::ASSUME_CODE_39_CHECK_DIGIT) != null; let mut readers: Collection = ArrayList<>::new();