Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

replaced isEmpty() with equals("")

apfelmaennchend288987a93d0
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");