Author: apfelmaennchen
Date: 2008-01-22 21:19:34 +0100 (Tue, 22 Jan 2008)
New Revision: 4367

Modified:
   trunk/htroot/Bookmarks.java
Log:
replaced isEmpty() with equals("")

Modified: trunk/htroot/Bookmarks.java
===================================================================
--- trunk/htroot/Bookmarks.java 2008-01-22 20:02:20 UTC (rev 4366)
+++ trunk/htroot/Bookmarks.java 2008-01-22 20:19:34 UTC (rev 4367)
@@ -358,7 +358,7 @@
                        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");

_______________________________________________
YaCy-svn mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/yacy-svn

Antwort per Email an