small fix for last commit

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@944 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
borg-0300 19 years ago
parent b00cd5640b
commit d77b982083

@ -450,7 +450,7 @@ public class yacySeed {
public static yacySeed genRemoteSeed(String seedStr, String key) { public static yacySeed genRemoteSeed(String seedStr, String key) {
// this method is used to convert the external representation of a seed into a seed object // this method is used to convert the external representation of a seed into a seed object
if (seedStr == null || seedStr.length() < yacySeedDB.commonHashLength) { return null; } if (seedStr == null) { return null; }
final String seed = crypt.simpleDecode(seedStr, key); final String seed = crypt.simpleDecode(seedStr, key);
if (seed == null) { return null; } if (seed == null) { return null; }
final HashMap dna = serverCodings.string2map(seed); final HashMap dna = serverCodings.string2map(seed);

Loading…
Cancel
Save