From 66cf813f072a1393a1e1dfe2d24a7b680bc64974 Mon Sep 17 00:00:00 2001 From: borg-0300 Date: Mon, 26 Dec 2005 19:41:55 +0000 Subject: [PATCH] BUGFIX: not all "" were listed git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1252 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/IndexControl_p.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/IndexControl_p.java b/htroot/IndexControl_p.java index 79126b664..dfa5e34ed 100644 --- a/htroot/IndexControl_p.java +++ b/htroot/IndexControl_p.java @@ -452,7 +452,7 @@ public class IndexControl_p { us = switchboard.urlPool.loadedURL.getEntry(uh).url().toString(); tm.put(us, uh); } catch (IOException e) { - tm.put("", uh); + tm.put(uh, uh); } } @@ -462,13 +462,13 @@ public class IndexControl_p { us = iter.next().toString(); uh = (String)tm.get(us); result.append(""); - if (us.length() > 0) { + if (us.equals(uh)) { + result.append("").append(uh).append(" <unresolved URL Hash>
"); + } else { result.append("") .append(uh).append(" ").append(us).append("
"); - } else { - result.append("").append(uh).append(" <unresolved URL Hash>
"); } } result.append("")