From d4f943d0df64a8e82dce8721b740d28dd5192d88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 16 Mar 2009 00:41:18 +0100 Subject: [PATCH] Implementated adding a page by URL. --- src/net/pterodactylus/arachne/core/Core.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/pterodactylus/arachne/core/Core.java b/src/net/pterodactylus/arachne/core/Core.java index bb73b0a..a2c50cd 100644 --- a/src/net/pterodactylus/arachne/core/Core.java +++ b/src/net/pterodactylus/arachne/core/Core.java @@ -77,6 +77,7 @@ public class Core extends AbstractService { */ public void addPage(URL url) { Validation.begin().isNotNull("url", url).check().isEqual("url.getHost()", url.getHost(), (Object) nodeHost).isEqual("url.getPort()", url.getPort(), nodePort).check(); + addPage(Page.fromURL(url)); } /** -- 2.7.4