From fc050c8c24829a3c7287d610ab7b180d2e8cff86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 10 Mar 2009 00:09:47 +0100 Subject: [PATCH] =?utf8?q?Rename=20member=20=E2=80=9Cedition=E2=80=9D=20to?= =?utf8?q?=20=E2=80=9Cnumber=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/net/pterodactylus/arachne/core/Edition.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/net/pterodactylus/arachne/core/Edition.java b/src/net/pterodactylus/arachne/core/Edition.java index 547c83c..b2210ed 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; } // @@ -62,7 +62,7 @@ public class Edition { */ @Override public String toString() { - return getClass().getName() + "[site=" + site + ",edition=" + edition + "]"; + return getClass().getName() + "[site=" + site + ",number=" + number + "]"; } } -- 2.7.4