From 3615e2692eaf7b1eac39cfbdb36bc4239316e3d7 Mon Sep 17 00:00:00 2001 From: Henry Schimke Date: Thu, 18 Aug 2022 17:42:03 -0500 Subject: [PATCH] map-hashmap --- src/oned.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();