From 6cce47e217b6f267c45b70862b49427d55835fb9 Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 4 Sep 2006 13:10:40 +0000 Subject: [PATCH] test of ftp-urls in URL class git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2481 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/net/URL.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/de/anomic/net/URL.java b/source/de/anomic/net/URL.java index da59f8387..d5148c201 100644 --- a/source/de/anomic/net/URL.java +++ b/source/de/anomic/net/URL.java @@ -319,7 +319,10 @@ public class URL { new String[]{"http://www.anomic.de/home/index.html", "../test"}, new String[]{"http://www.anomic.de/home/index.html", "mailto:abcdefg@nomailnomail.com"}, new String[]{null, "news:de.test"}, - new String[]{"http://www.anomic.de/home", "news:de.test"} + new String[]{"http://www.anomic.de/home", "news:de.test"}, + new String[]{"http://www.anomic.de/home", "ftp://ftp.anomic.de/src"}, + new String[]{null, "ftp://ftp.delegate.org/"}, + new String[]{"http://www.anomic.de/home", "ftp://ftp.delegate.org/"} }; String environment, url; de.anomic.net.URL aURL = null;