1
0
mirror of https://github.com/yacy/yacy_search_server.git synced 2025-07-19 08:44:42 -04:00

bugfix for internal index entry generation

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2889 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter
2006-11-01 08:55:49 +00:00
parent 493391e42d
commit fc2936d500

@ -142,8 +142,8 @@ public class indexURLEntry implements Cloneable, indexEntry {
public byte[] toEncodedByteArrayForm(boolean includeHash) {
if (includeHash) return entry.bytes();
byte[] b = new byte[urlEntryRow.objectsize() - indexURL.urlLanguageLength];
System.arraycopy(entry.bytes(), indexURL.urlLanguageLength, b, 0, b.length);
byte[] b = new byte[urlEntryRow.objectsize() - indexURL.urlHashLength];
System.arraycopy(entry.bytes(), indexURL.urlHashLength, b, 0, b.length);
return b;
}