mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
优化
This commit is contained in:
parent
6b046f8707
commit
c3ce99cce2
@ -1,10 +1,10 @@
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/**
|
||||
* ******************************************************************************
|
||||
* Copyright (C) 2005-2016, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
* ******************************************************************************
|
||||
/*
|
||||
******************************************************************************
|
||||
Copyright (C) 2005-2016, International Business Machines Corporation and *
|
||||
others. All Rights Reserved. *
|
||||
******************************************************************************
|
||||
*/
|
||||
package io.legado.app.lib.icu4j;
|
||||
|
||||
@ -332,7 +332,7 @@ public class CharsetDetector {
|
||||
* it by removing what appears to be html markup.
|
||||
*/
|
||||
private void MungeInput() {
|
||||
int srci = 0;
|
||||
int srci;
|
||||
int dsti = 0;
|
||||
byte b;
|
||||
boolean inMarkup = false;
|
||||
@ -496,6 +496,7 @@ public class CharsetDetector {
|
||||
list.add(new CSRecognizerInfo(new CharsetRecog_sbcs.CharsetRecog_IBM420_ar_rtl(), false));
|
||||
list.add(new CSRecognizerInfo(new CharsetRecog_sbcs.CharsetRecog_IBM420_ar_ltr(), false));
|
||||
|
||||
//noinspection Java9CollectionFactory
|
||||
ALL_CS_RECOGNIZERS = Collections.unmodifiableList(list);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user