Attachment 'deduplicator-0.3.0-20061218-patch-index-NPE.patch'
Download 1 diff -Naur deduplicator-0.3.0-20061218/src/main/java/is/hi/bok/deduplicator/DeDuplicator.java deduplicator-0.3.0-20061218-patch-index-NPE/src/main/java/is/hi/bok/deduplicator/DeDuplicator.java
2 --- deduplicator-0.3.0-20061218/src/main/java/is/hi/bok/deduplicator/DeDuplicator.java 2006-08-22 12:26:54.000000000 +0200
3 +++ deduplicator-0.3.0-20061218-patch-index-NPE/src/main/java/is/hi/bok/deduplicator/DeDuplicator.java 2008-05-22 17:13:22.000000000 +0200
4 @@ -948,7 +948,9 @@
5
6 protected void finalTasks() {
7 try {
8 - index.close();
9 + if (index != null) {
10 + index.close();
11 + }
12 } catch (IOException e) {
13 logger.log(Level.SEVERE,"Error closing index",e);
14 }
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.