no more sync

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@776 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 20 years ago
parent 7991c05b49
commit de0a58d79c

@ -65,6 +65,7 @@ public class kelondroFileRA extends kelondroAbstractRA implements kelondroRA {
RADescriptor = RAFile.getFD();
}
/*
private void sync() throws IOException {
try {
RADescriptor.sync();
@ -73,6 +74,7 @@ public class kelondroFileRA extends kelondroAbstractRA implements kelondroRA {
throw new IOException(e.getMessage());
}
}
*/
// pseudo-native method read
public int read() throws IOException {
@ -101,7 +103,7 @@ public class kelondroFileRA extends kelondroAbstractRA implements kelondroRA {
}
public void close() throws IOException {
sync();
//sync();
RAFile.close();
RAFile = null;
}

Loading…
Cancel
Save