no more sync

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@776 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2005-09-22 20:31:55 +00:00
parent 7991c05b49
commit de0a58d79c

View File

@ -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;
}