From d288987a93d01604f25c125f42a32eda49023619 Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Tue, 22 Jan 2008 20:19:34 +0000 Subject: [PATCH] replaced isEmpty() with equals("") git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4367 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Bookmarks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htroot/Bookmarks.java b/htroot/Bookmarks.java index f44c13a82..0b5188b32 100644 --- a/htroot/Bookmarks.java +++ b/htroot/Bookmarks.java @@ -358,7 +358,7 @@ public class Bookmarks { tag=(Tag) it.next(); if (tag.getFriendlyName().startsWith("/")) { path = tag.getFriendlyName(); - while(!path.isEmpty()){ + while(!path.equals("")){ folders.add(path); path = path.replaceAll("(/.[^/]*$)", ""); serverLog.logInfo("BOOKMARKS", "Path: "+path+" added to folder list.\n");