Skip to content

Commit

Permalink
NUTCH-354 - properly reset a field when reusing an instance.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/lucene/nutch/branches/branch-0.8@432897 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
sigram committed Aug 19, 2006
1 parent 813badc commit bff3986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/org/apache/nutch/crawl/MapWritable.java
Expand Up @@ -426,6 +426,7 @@ private KeyValueEntry getKeyValueEntry(final byte keyId, final byte valueId)
} else {
fOld = entry.fNextEntry;
}
entry.fNextEntry = null; // reset next entry
return entry;
}
last = entry;
Expand Down

0 comments on commit bff3986

Please sign in to comment.