From: David ‘Bombe’ Roden Date: Mon, 9 Mar 2009 14:11:00 +0000 (+0100) Subject: Use an edition instead of a site. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=396e90eac802af34121828878fb8c362e1279b0c;p=arachne.git Use an edition instead of a site. --- diff --git a/src/net/pterodactylus/arachne/core/Page.java b/src/net/pterodactylus/arachne/core/Page.java index 8c4ae44..a833fab 100644 --- a/src/net/pterodactylus/arachne/core/Page.java +++ b/src/net/pterodactylus/arachne/core/Page.java @@ -4,15 +4,15 @@ package net.pterodactylus.arachne.core; /** - * Container for a page. A page consists of a {@link Site} and a path within the - * site. + * Container for a page. A page consists of an {@link Edition} and a path within + * the edition. * * @author David ‘Bombe’ Roden */ public class Page { - /** The site of the page. */ - private final Site site; + /** The edition of the page. */ + private final Edition edition; /** The path of the page. */ private final String path; @@ -20,23 +20,23 @@ public class Page { /** * Creates a new page. * - * @param site - * The site of the page + * @param edition + * The edition of the page * @param path * The path of the page */ - public Page(Site site, String path) { - this.site = site; + public Page(Edition edition, String path) { + this.edition = edition; this.path = path; } /** - * Returns the site of the page. + * Returns the edition of the page. * - * @return The page’s site + * @return The page’s edition */ - public Site getSite() { - return site; + public Edition getSite() { + return edition; } /**