From 5f55dff2972987adf41b4f4e1c7930c0e46f59b6 Mon Sep 17 00:00:00 2001 From: theli Date: Tue, 23 Aug 2005 08:37:42 +0000 Subject: [PATCH] =?UTF-8?q?*)=20Bugfix=20for=20"Bin=C3=A4re=20Nullen=20auf?= =?UTF-8?q?=20der=20page:=20Index=20Creation:=20Indexing=20Queue"=20=20=20?= =?UTF-8?q?=20See:=20http://www.yacy-forum.de/viewtopic.php=3Fp=3D6877#687?= =?UTF-8?q?7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@577 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSwitchboardQueue.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/plasmaSwitchboardQueue.java b/source/de/anomic/plasma/plasmaSwitchboardQueue.java index 6a8e7c2a5..5f420d809 100644 --- a/source/de/anomic/plasma/plasmaSwitchboardQueue.java +++ b/source/de/anomic/plasma/plasmaSwitchboardQueue.java @@ -152,7 +152,7 @@ public class plasmaSwitchboardQueue { this.initiator = initiator; this.depth = depth; this.profileHandle = profileHandle; - this.anchorName = anchorName; + this.anchorName = (anchorName==null)?"":anchorName.trim(); this.profileEntry = null; this.responseHeader = null; @@ -173,7 +173,7 @@ public class plasmaSwitchboardQueue { this.initiator = (row[4] == null) ? null : new String(row[4]); this.depth = (int) serverCodings.enhancedCoder.decodeBase64Long(new String(row[5])); this.profileHandle = new String(row[6]); - this.anchorName = (row[7] == null) ? null : new String(row[7]); + this.anchorName = (row[7] == null) ? null : (new String(row[7])).trim(); this.profileEntry = null; this.responseHeader = null;