Skip to content

Commit

Permalink
- small fix for bookmarksDB
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5527 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
apfelmaennchen committed Jan 28, 2009
1 parent 96684df commit 3484e55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/de/anomic/data/bookmarksDB.java
Expand Up @@ -744,7 +744,8 @@ public void addTag(final String selectTag, final String newTag){
Bookmark bookmark;
while (it.hasNext()) { // looping through all bookmarks which were tagged with selectTag
bookmark = getBookmark(it.next());
bookmark.addTag(newTag);
bookmark.addTag(newTag);
saveBookmark(bookmark);
}
}

Expand Down Expand Up @@ -1235,6 +1236,7 @@ public void setProperty(final String name, final String value){
public void addTag(final String tagName){
tags.add(tagName);
setTags(tags);
saveBookmark(this);
}

/**
Expand Down

0 comments on commit 3484e55

Please sign in to comment.