From a07df19c40060a810d77d5020c5f76d20d0e1cd4 Mon Sep 17 00:00:00 2001 From: Tobias Ottenweller Date: Sun, 13 May 2012 17:06:08 +0200 Subject: [PATCH] refactoring: comment on Gate class --- src/org/mcteam/ancientgates/Gate.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/mcteam/ancientgates/Gate.java b/src/org/mcteam/ancientgates/Gate.java index df0dc25..7dfa95a 100644 --- a/src/org/mcteam/ancientgates/Gate.java +++ b/src/org/mcteam/ancientgates/Gate.java @@ -13,6 +13,9 @@ import org.mcteam.ancientgates.util.LocationSerializer; +/** + * Adds persistence and serialization to the base gate class. + */ public class Gate extends BaseGate implements ConfigurationSerializable { /* @@ -128,7 +131,6 @@ public class Gate extends BaseGate implements ConfigurationSerializable gate.id = id; instances.put(gate.id, gate); Plugin.log("created new gate " + gate.id); - //faction.save(); return gate; } @@ -146,7 +148,6 @@ public class Gate extends BaseGate implements ConfigurationSerializable public static void delete(String id) { - // Remove the faction instances.remove(id); }