Skip to content

Commit

Permalink
*) removed unused imports
Browse files Browse the repository at this point in the history
*) some generics

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4374 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
low012 committed Jan 23, 2008
1 parent c0fbab9 commit 41a3ff8
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions htroot/Bookmarks.java
Expand Up @@ -8,8 +8,8 @@
// This File is contributed by Alexander Schier
//
// $LastChangedDate: 2008-01-22 12:51:43 +0100 (Di, 22 Jan 2008) $
// $LastChangedRevision: 4352 $
// $LastChangedBy: orbiter $
// $LastChangedRevision: 4374 $
// $LastChangedBy: low012 $
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -50,21 +50,15 @@

import java.io.File;
import java.net.MalformedURLException;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.ListIterator;
import java.util.Set;
import java.util.TreeSet;

import java.lang.Math;

import de.anomic.data.bookmarksDB;
import de.anomic.data.listManager;
import de.anomic.data.userDB;
import de.anomic.data.bookmarksDB.Tag;
import de.anomic.data.bookmarksDB.tagComparator;
import de.anomic.http.httpHeader;
import de.anomic.http.httpc;
import de.anomic.index.indexURLEntry;
Expand Down Expand Up @@ -487,7 +481,7 @@ private static int recurseFolders(Iterator it, String root, int count, boolean n

private static void publishNews(String url, String title, String description, String tagsString) {
// create a news message
HashMap map = new HashMap();
HashMap<String, String> map = new HashMap<String, String>();
map.put("url", url.replace(',', '|'));
map.put("title", title.replace(',', ' '));
map.put("description", description.replace(',', ' '));
Expand Down

0 comments on commit 41a3ff8

Please sign in to comment.