fix for new ArrayIndexOutOfBoundException

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2524 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent a8bc768206
commit 75b03a4580

@ -148,7 +148,7 @@ public class indexURLEntry implements Cloneable, indexEntry {
}
public String toPropertyForm(boolean displayFormat) {
return entry.toPropertyForm(false, displayFormat, displayFormat);
return entry.toPropertyForm(true, displayFormat, displayFormat);
}
public Entry toKelondroEntry() {

@ -197,7 +197,12 @@ public class kelondroRow {
if (p > 0) {
nick = elts[i].substring(0, p).trim();
f = (Object[]) nickref.get(nick);
System.arraycopy(elts[i].substring(p + 1).trim().getBytes(), 0, rowinstance, ((Integer) f[1]).intValue(), ((kelondroColumn) f[0]).cellwidth());
if (f != null) {
System.arraycopy(
elts[i].substring(p + 1).trim().getBytes(), 0,
rowinstance, ((Integer) f[1]).intValue(),
((kelondroColumn) f[0]).cellwidth());
}
}
}
}
@ -401,7 +406,7 @@ public class kelondroRow {
}
public String toString() {
return toPropertyForm(true, true, true);
return toPropertyForm(true, false, false);
}
}

Loading…
Cancel
Save