git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4204 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter 2007-11-11 01:32:54 +00:00
parent 2e91b724ad
commit 2421127612
2 changed files with 2 additions and 4 deletions

View File

@ -149,7 +149,7 @@ public final class kelondroRow {
public final Entry newEntry(byte[] rowinstance) {
if (rowinstance == null) return null;
//assert (rowinstance[0] != 0);
assert (this.objectOrder.wellformed(rowinstance, 0, row[0].cellwidth)) : "rowinstance[0] = " + serverLog.arrayList(rowinstance, 0, row[0].cellwidth);
assert (this.objectOrder.wellformed(rowinstance, 0, row[0].cellwidth)) : "rowinstance[0] = " + new String(rowinstance, 0, row[0].cellwidth) + " / " + serverLog.arrayList(rowinstance, 0, row[0].cellwidth);
if (!(this.objectOrder.wellformed(rowinstance, 0, row[0].cellwidth))) return null;
return new Entry(rowinstance, false);
}

View File

@ -899,10 +899,8 @@ public class yacyURL {
return this.toString().compareTo(((yacyURL) h).toString());
}
public boolean isPOST() {
return (path.indexOf("?") >= 0 ||
path.indexOf("&") >= 0);
return (this.quest != null) && (this.quest.length() > 0);
}
public boolean isCGI() {