mirror of https://github.com/apache/lucene.git
SOLR-2819: Improved speed of parsing hex entities in HTMLStripCharFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1208032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
afc71a72a6
commit
3ed5106920
|
@ -124,8 +124,8 @@ public class HTMLStripCharFilter extends BaseCharFilter {
|
|||
|
||||
private boolean isHex(int ch) {
|
||||
return (ch>='0' && ch<='9') ||
|
||||
(ch>='A' && ch<='Z') ||
|
||||
(ch>='a' && ch<='z');
|
||||
(ch>='A' && ch<='F') ||
|
||||
(ch>='a' && ch<='f');
|
||||
}
|
||||
|
||||
private boolean isAlpha(int ch) {
|
||||
|
|
|
@ -402,6 +402,9 @@ Bug Fixes
|
|||
----------------------
|
||||
* SOLR-2912: Fixed File descriptor leak in ShowFileRequestHandler (Michael Ryan, shalin)
|
||||
|
||||
* SOLR-2819: Improved speed of parsing hex entities in HTMLStripCharFilter
|
||||
(Bernhard Berger, hossman)
|
||||
|
||||
================== 3.5.0 ==================
|
||||
|
||||
New Features
|
||||
|
|
Loading…
Reference in New Issue