git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1955 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
rramthun 19 years ago
parent 157d01cc97
commit 250864406f

@ -178,7 +178,7 @@ public class kelondroAttrSeq {
sb.append((char) 13); sb.append((char) 10);
}
if (out.toString().endsWith(".gz")) {
serverFileUtils.writeAndZip(sb.toString().getBytes(), out);
serverFileUtils.writeAndGZip(sb.toString().getBytes(), out);
} else {
serverFileUtils.write(sb.toString().getBytes(), out);
}

@ -1645,7 +1645,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
header.append("# ---"); header.append((char) 13); header.append((char) 10);
cr.insert(0, header.toString());
try {
serverFileUtils.writeAndZip(cr.toString().getBytes(), file);
serverFileUtils.writeAndGZip(cr.toString().getBytes(), file);
log.logFine("wrote citation reference dump " + file.toString());
} catch (IOException e) {
e.printStackTrace();

Loading…
Cancel
Save