void (Bookmark bookmark) { List<BookmarkInfo> list = myBeforeChangeData.get(bookmark.getCachedDocument()); if (list != null) { for (BookmarkInfo bookmarkInfo : list) { if (bookmarkInfo.bookmark == bookmark) { removeBookmark(bookmark); myDeletedDocumentBookmarks.put(new DeletedDocumentBookmarkKey(bookmark.getFile(), bookmarkInfo.line, bookmarkInfo.text), bookmark); break; } } } }