nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Nioche (JIRA)" <j...@apache.org>
Subject [jira] Created: (NUTCH-756) CrawlDatum.set() does not resets Metadata if it is null
Date Tue, 29 Sep 2009 10:40:16 GMT
CrawlDatum.set() does not resets Metadata if it is null
-------------------------------------------------------

                 Key: NUTCH-756
                 URL: https://issues.apache.org/jira/browse/NUTCH-756
             Project: Nutch
          Issue Type: Bug
            Reporter: Julien Nioche
            Priority: Blocker


The patch Nutch-702 implemented the lazy instanciation of CrawlDatum objects, but when using
the method set(CrawlDatum) to copy the content of an instance into the current object we did
not reset the metadata of the current object if it was null in the instance passed as argument.
As a result, the metadata of the current object might be kept from a previous CrawlDatum and
won't correspond to the other fields of the instance.
The patch attached fixes this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message