From 56ae5b9c70a01f904ea9aecee2dacdfd07516df7 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Wed, 10 Apr 2013 08:48:21 +0200 Subject: [PATCH] Move the adapter to the adapter folder. --- src/com/massivecraft/factions/Factions.java | 1 + .../factions/{ => adapters}/TerritoryAccessAdapter.java | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) rename src/com/massivecraft/factions/{ => adapters}/TerritoryAccessAdapter.java (96%) diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index ae504d4c..6a2c9606 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -16,6 +16,7 @@ import com.massivecraft.factions.adapters.FFlagTypeAdapter; import com.massivecraft.factions.adapters.FPermTypeAdapter; import com.massivecraft.factions.adapters.LocationTypeAdapter; import com.massivecraft.factions.adapters.RelTypeAdapter; +import com.massivecraft.factions.adapters.TerritoryAccessAdapter; import com.massivecraft.factions.cmd.*; import com.massivecraft.factions.integration.herochat.HerochatFeatures; import com.massivecraft.factions.integration.Econ; diff --git a/src/com/massivecraft/factions/TerritoryAccessAdapter.java b/src/com/massivecraft/factions/adapters/TerritoryAccessAdapter.java similarity index 96% rename from src/com/massivecraft/factions/TerritoryAccessAdapter.java rename to src/com/massivecraft/factions/adapters/TerritoryAccessAdapter.java index 5bcbec3f..761800a5 100644 --- a/src/com/massivecraft/factions/TerritoryAccessAdapter.java +++ b/src/com/massivecraft/factions/adapters/TerritoryAccessAdapter.java @@ -1,4 +1,4 @@ -package com.massivecraft.factions; +package com.massivecraft.factions.adapters; import java.lang.reflect.Type; import java.util.Iterator; @@ -14,6 +14,9 @@ import org.bukkit.craftbukkit.libs.com.google.gson.JsonPrimitive; import org.bukkit.craftbukkit.libs.com.google.gson.JsonSerializationContext; import org.bukkit.craftbukkit.libs.com.google.gson.JsonSerializer; +import com.massivecraft.factions.Factions; +import com.massivecraft.factions.TerritoryAccess; + public class TerritoryAccessAdapter implements JsonDeserializer, JsonSerializer { //----------------------------------------------//