From a718858e8b43118a98f51ba95cf22e7eed50394c Mon Sep 17 00:00:00 2001 From: fuchsi Date: Wed, 24 Oct 2007 23:25:48 +0000 Subject: [PATCH] seed.CCOUNT is interpreted as a double value not int git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4180 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Network.java | 2 +- source/de/anomic/yacy/yacySeed.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htroot/Network.java b/htroot/Network.java index 022ce8d21..1233cef66 100644 --- a/htroot/Network.java +++ b/htroot/Network.java @@ -394,7 +394,7 @@ public class Network { prop.putNum(STR_TABLE_LIST + conCount + "_complete_CRWCnt", Long.parseLong(seed.get(yacySeed.CRWCNT, "0"))); prop.putNum(STR_TABLE_LIST + conCount + "_complete_CRTCnt", Long.parseLong(seed.get(yacySeed.CRTCNT, "0"))); prop.putNum(STR_TABLE_LIST + conCount + "_complete_seeds", Long.parseLong(seed.get(yacySeed.SCOUNT, "0"))); - prop.putNum(STR_TABLE_LIST + conCount + "_complete_connects", Long.parseLong(seed.get(yacySeed.CCOUNT, "0"))); + prop.putNum(STR_TABLE_LIST + conCount + "_complete_connects", Double.parseDouble(seed.get(yacySeed.CCOUNT, "0"))); prop.putHTML(STR_TABLE_LIST + conCount + "_complete_userAgent", userAgent); } else { prop.put(STR_TABLE_LIST + conCount + "_complete", 0); diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.java index 45e7dcf1e..72e02c021 100644 --- a/source/de/anomic/yacy/yacySeed.java +++ b/source/de/anomic/yacy/yacySeed.java @@ -160,7 +160,7 @@ public class yacySeed { public static final String ICOUNT = "ICount"; /** the number of seeds that the peer has stored */ public static final String SCOUNT = "SCount"; - /** the number of clients that the peer connects (connects/hour) */ + /** the number of clients that the peer connects (connects/hour as double) */ public static final String CCOUNT = "CCount"; /** Citation Rank (Own) - Count */ public static final String CRWCNT = "CRWCnt";