From 46c0165cef4efc6f92afcf4a78c2340f20f668fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 10 Mar 2009 00:11:01 +0100 Subject: [PATCH] Use new method names from Page and Edition. --- src/net/pterodactylus/arachne/core/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/pterodactylus/arachne/core/Core.java b/src/net/pterodactylus/arachne/core/Core.java index e7eac9e..fb85953 100644 --- a/src/net/pterodactylus/arachne/core/Core.java +++ b/src/net/pterodactylus/arachne/core/Core.java @@ -206,7 +206,7 @@ public class Core extends AbstractService { */ private URL createURL(Page page) { try { - return new URL("http://" + nodeHost + ":" + nodePort + "/SSK@" + page.getSite().getSite().getKey() + "/" + page.getSite().getSite().getBasename() + "-" + page.getSite().getEdition() + "/" + page.getPath()); + return new URL("http://" + nodeHost + ":" + nodePort + "/SSK@" + page.getEdition().getSite().getKey() + "/" + page.getEdition().getSite().getBasename() + "-" + page.getEdition().getNumber() + "/" + page.getPath()); } catch (MalformedURLException mue1) { /* nearly impossible. */ } -- 2.7.4