X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Farachne%2Fcore%2FEdition.java;h=732282ef126a9c9252e759a0e7cfa6d5a2cbaff0;hb=8b58c6a6203d8fd6989d92bb5d9fedb9cce37d46;hp=547c83c1eda750e7bd3f3a7f9857f2cb204d26fc;hpb=b5c11f5cfcabd388269424023c5e9ffd1c315315;p=arachne.git diff --git a/src/net/pterodactylus/arachne/core/Edition.java b/src/net/pterodactylus/arachne/core/Edition.java index 547c83c..732282e 100644 --- a/src/net/pterodactylus/arachne/core/Edition.java +++ b/src/net/pterodactylus/arachne/core/Edition.java @@ -17,20 +17,20 @@ public class Edition { private final Site site; /** The edition number of the edition. */ - private final int edition; + private final int number; /** * Creates a new edition. * * @param site * The site of the edition - * @param edition + * @param number * The edition number of the edition */ - public Edition(Site site, int edition) { - Validation.begin().isNotNull("site", site).isPositive("edition", edition).check(); + public Edition(Site site, int number) { + Validation.begin().isNotNull("site", site).isPositive("edition", number).check(); this.site = site; - this.edition = edition; + this.number = number; } /** @@ -47,8 +47,8 @@ public class Edition { * * @return This edition’s edition number */ - public int getEdition() { - return edition; + public int getNumber() { + return number; } // @@ -56,13 +56,13 @@ public class Edition { // /** - * {@inheritdoc} + * {@inheritDoc} * * @see java.lang.Object#toString() */ @Override public String toString() { - return getClass().getName() + "[site=" + site + ",edition=" + edition + "]"; + return getClass().getName() + "[site=" + site + ",number=" + number + "]"; } }