projects
/
arachne.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use an edition instead of a site.
[arachne.git]
/
src
/
net
/
pterodactylus
/
arachne
/
core
/
Page.java
diff --git
a/src/net/pterodactylus/arachne/core/Page.java
b/src/net/pterodactylus/arachne/core/Page.java
index
8c4ae44
..
a833fab
100644
(file)
--- 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;
/**
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 a
n {@link Edition} and a path within
+ *
the edition
.
*
* @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
*/
public class Page {
*
* @author David ‘Bombe’ Roden <bombe@pterodactylus.net>
*/
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;
/** The path of the page. */
private final String path;
@@
-20,23
+20,23
@@
public class Page {
/**
* Creates a new 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
*/
* @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;
}
/**
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
;
}
/**
}
/**