From 826f14f37f8129e1e29c80cef767e513a4e5a1b4 Mon Sep 17 00:00:00 2001 From: reger Date: Thu, 22 Oct 2015 02:35:58 +0200 Subject: [PATCH] fix unnececary set null of peer flags, causing reread remove obsolete version flags --- source/net/yacy/peers/Seed.java | 1 - source/net/yacy/peers/operation/yacyVersion.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/source/net/yacy/peers/Seed.java b/source/net/yacy/peers/Seed.java index f19cd17b7..3306b18ee 100644 --- a/source/net/yacy/peers/Seed.java +++ b/source/net/yacy/peers/Seed.java @@ -977,7 +977,6 @@ public class Seed implements Cloneable, Comparable, Comparator this.dna.put(Seed.SOLRAVAILABLE, "OK"); else this.dna.put(Seed.SOLRAVAILABLE, "NA"); - this.bitfield = null; } /** diff --git a/source/net/yacy/peers/operation/yacyVersion.java b/source/net/yacy/peers/operation/yacyVersion.java index 060e64ad9..f4436b2a5 100644 --- a/source/net/yacy/peers/operation/yacyVersion.java +++ b/source/net/yacy/peers/operation/yacyVersion.java @@ -9,11 +9,9 @@ import net.yacy.search.Switchboard; public class yacyVersion implements Comparator, Comparable { - public static final double YACY_SUPPORTS_PORT_FORWARDING = (float) 0.383; public static final double YACY_SUPPORTS_GZIP_POST_REQUESTS_CHUNKED = (float) 0.58204761; public static final double YACY_HANDLES_COLLECTION_INDEX = (float) 0.486; public static final double YACY_POVIDES_REMOTECRAWL_LISTS = (float) 0.550; - public static final double YACY_STANDARDREL_IS_PRO = (float) 0.557; private static yacyVersion thisVersion = null; /**