From 396e90eac802af34121828878fb8c362e1279b0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 9 Mar 2009 15:11:00 +0100 Subject: [PATCH] Use an edition instead of a site. --- src/net/pterodactylus/arachne/core/Page.java | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) 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; } /** -- 2.7.4