Skip to content

Commit

Permalink
minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
remstef committed Sep 1, 2016
1 parent 98be51d commit f8ca9a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ protected void writeplaintext(CrawlURI curi, String cleaned_plaintext) {

String time = TimeUtils.get_ISO_8601_UTC();
synchronized (_lck) {
String t = cleaned_plaintext.trim().replaceAll("\t", "\\t").replaceAll("\r", "").replaceAll("\n", "\\n");
String t = cleaned_plaintext.trim().replace("\t", "\\t").replace("\r", "").replace("\n", "\\n");
String s = String.format("%s\t%s\t%s\t%s%n", time, perplexity_value_as_string, t, curi);
_current_stream.print(s);
_num_bytes_written.getAndAdd(s.getBytes().length);
Expand Down

0 comments on commit f8ca9a3

Please sign in to comment.