This commit is contained in:
Looly 2023-04-24 14:09:01 +08:00
parent 55ea84f5ba
commit c8101e6e7f

View File

@ -65,12 +65,12 @@ public class QrDecoder implements Decoder<Image, String> {
*
* @param hints 自定义扫码配置包括算法编码复杂模式等
*/
public QrDecoder(Map<DecodeHintType, Object> hints) {
public QrDecoder(final Map<DecodeHintType, Object> hints) {
this.hints = hints;
}
@Override
public String decode(Image image) {
public String decode(final Image image) {
final MultiFormatReader formatReader = new MultiFormatReader();
formatReader.setHints(hints);