Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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

orbiteradf1f74ab2df
diff --git a/source/de/anomic/htmlFilter/htmlFilterContentScraper.java b/source/de/anomic/htmlFilter/htmlFilterContentScraper.java
index d7a99276e..53a5d6406 100644
--- a/source/de/anomic/htmlFilter/htmlFilterContentScraper.java
+++ b/source/de/anomic/htmlFilter/htmlFilterContentScraper.java
@@ -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 = " |/|\\(|\\)|-|\\:|_|\\.|,|\\?|!|'|" + '"';