mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4204 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
2e91b724ad
commit
2421127612
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user