Skip to content

Commit

Permalink
fix for deadlock in new encoder :-(
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5296 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Oct 22, 2008
1 parent 0edec2b commit 49293c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/de/anomic/htmlFilter/htmlFilterCharacterCoding.java
Expand Up @@ -244,19 +244,17 @@ public static String html2unicode(final String text) {
continue;
}
s = text.substring(p, q + 1);
p = q + 1;
if (s.equals(amp_html)) {
sb.append(amp_unicode);
p = q + 1;
continue;
}
if ((r = html2unicode4xml.get(s)) != null) {
sb.append(r.charValue());
p = q + 1;
continue;
}
if ((r = html2unicode4html.get(s)) != null) {
sb.append(r);
p = q + 1;
continue;
}
// the entity is unknown, skip it
Expand Down

0 comments on commit 49293c1

Please sign in to comment.