From: David ‘Bombe’ Roden Date: Mon, 9 Mar 2009 23:11:01 +0000 (+0100) Subject: Use new method names from Page and Edition. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=46c0165cef4efc6f92afcf4a78c2340f20f668fc;p=arachne.git Use new method names from Page and Edition. --- 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. */ }