Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix for NullpointerException in Java Finalizer

theli7028412c541e
diff --git a/source/de/anomic/kelondro/kelondroFileRA.java b/source/de/anomic/kelondro/kelondroFileRA.java
index 7dd098a32..72723ea13 100644
--- a/source/de/anomic/kelondro/kelondroFileRA.java
+++ b/source/de/anomic/kelondro/kelondroFileRA.java
@@ -99,7 +99,7 @@ public final class kelondroFileRA extends kelondroAbstractRA implements kelondro
}
public void close() throws IOException {
- RAFile.close();
+ if (RAFile != null) RAFile.close();
RAFile = null;
}