mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
55ea84f5ba
commit
c8101e6e7f
@ -65,12 +65,12 @@ public class QrDecoder implements Decoder<Image, String> {
|
|||||||
*
|
*
|
||||||
* @param hints 自定义扫码配置,包括算法、编码、复杂模式等
|
* @param hints 自定义扫码配置,包括算法、编码、复杂模式等
|
||||||
*/
|
*/
|
||||||
public QrDecoder(Map<DecodeHintType, Object> hints) {
|
public QrDecoder(final Map<DecodeHintType, Object> hints) {
|
||||||
this.hints = hints;
|
this.hints = hints;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String decode(Image image) {
|
public String decode(final Image image) {
|
||||||
final MultiFormatReader formatReader = new MultiFormatReader();
|
final MultiFormatReader formatReader = new MultiFormatReader();
|
||||||
formatReader.setHints(hints);
|
formatReader.setHints(hints);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user