orbiter 18 years ago
parent bf6f6820ec
commit f5a4efb76e

@ -87,7 +87,7 @@ public final class hello {
final yacySeed remoteSeed = yacySeed.genRemoteSeed(seed, key, false);
// System.out.println("YACYHELLO: REMOTESEED=" + ((remoteSeed == null) ? "NULL" : remoteSeed.toString()));
if (remoteSeed == null) { return null; }
if ((remoteSeed == null) || (remoteSeed.hash == null)) { return null; }
// final String properTest = remoteSeed.isProper();
// The remote peer might not know its IP yet, so don't abort if the IP check fails

@ -75,7 +75,7 @@ public abstract class kelondroAbstractOrder implements kelondroOrder {
} /* else if ((a instanceof Integer) && (b instanceof Integer)) {
return ((Integer) a).compareTo((Integer) b);
} */ else
throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + "[" + a.getClass().getName() + "], b=" + b + "[" + b.getClass().getName() + "]");
throw new IllegalArgumentException("Object type or Object type combination not supported: a=" + a + "[" + ((a == null) ? "" : a.getClass().getName()) + "], b=" + b + "[" + ((b == null) ? "" : b.getClass().getName()) + "]");
}
public byte[] zero() {

Loading…
Cancel
Save