mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
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:
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…
Reference in New Issue
Block a user