public synchronized void threadFinished(QueuedPage qp,
			LinkedList<String> links) {
		Page currentPage;
		Page temp;
		currentPage = pages.get(qp.url);

		for (String s : links)
			if (s.startsWith(filter)) {
				// System.out.println("[" + qp.depth + "]" + currentPage.url +
				// " -> " + s);
				if (pages.containsKey(s))
					currentPage.links.add(pages.get(s));
				// Es werden nur Seiten beruecksichtigt, die auch gecrawlt
				// werden um PR-Senken zu vermeiden
				else if (qp.depth < maxDepth) {
					temp = new Page(s, pageCount);
					pages.put(s, temp);
					pageCount++;
					currentPage.links.add(temp);
					q.add(new QueuedPage(s, qp.depth + 1));
				}
			}

		currentCrawls.remove(qp);
		threadCount--;
		crawledCount++;
		startThreads();
	}