On Fri, Apr 21, 2006 at 06:58:03PM +0100, Dave Baker wrote: > Okay, no problem. I'll fix the not-colliding-at-all issue. As for the header > issue, I can fix that too by just comparing the first 72 bytes instead of the > whole lot - is there any situation that needs the equals method to take this > random part of the header into account? If not, I can just change the equals > method. If there is, I'll make a new method - 'isSameKey'? > > Bug filed: https://bugs.freenetproject.org/view.php?id=324
Well it's a question of is the data the same? Everything except the signature and fields which depend on the signature should be identical on two inserts... Fix it if you want, I'll review the commit. > > Dave -- Matthew J Toseland - toad at amphibian.dyndns.org Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20060421/ab781f6f/attachment.pgp>
