bugfix for java 1.5 compile problem with serverCharBuffer.append(char)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2716 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent fd61209797
commit adf1f74ab2

@ -128,10 +128,10 @@ public class htmlFilterContentScraper extends htmlFilterAbstractScraper implemen
// condenser to distinguish headlines from text beginnings.
// to make it easier for the condenser, a dot ('.') is appended in case that
// no punctuation is part of the newtext line
if ((b.length() != 0) && (!(punctuation(b.charAt(b.length() - 1))))) b.append('.');
if ((b.length() != 0) && (!(punctuation(b.charAt(b.length() - 1))))) b.append((int) '.');
//System.out.println("*** Appended dot: " + b.toString());
}
if (b.length() != 0) content.append(b).append((char) 32);
if (b.length() != 0) content.append(b).append((int) 32);
}
public static final String splitrex = " |/|\\(|\\)|-|\\:|_|\\.|,|\\?|!|'|" + '"';

Loading…
Cancel
Save