From e90ba2e1df5228aa432c989aa4db8338703cd192 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Sat, 9 Apr 2016 00:35:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E5=8A=A8=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=88=B0models=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yumc/Yum/{manager/module => models}/PluginInfo.java | 8 ++++---- .../pw/yumc/Yum/{manager/module => models}/RepoCache.java | 4 ++-- .../Yum/{manager/module => models}/RepoSerialization.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename src/main/java/pw/yumc/Yum/{manager/module => models}/PluginInfo.java (91%) rename src/main/java/pw/yumc/Yum/{manager/module => models}/RepoCache.java (93%) rename src/main/java/pw/yumc/Yum/{manager/module => models}/RepoSerialization.java (93%) diff --git a/src/main/java/pw/yumc/Yum/manager/module/PluginInfo.java b/src/main/java/pw/yumc/Yum/models/PluginInfo.java similarity index 91% rename from src/main/java/pw/yumc/Yum/manager/module/PluginInfo.java rename to src/main/java/pw/yumc/Yum/models/PluginInfo.java index 8983b58..cf453ed 100644 --- a/src/main/java/pw/yumc/Yum/manager/module/PluginInfo.java +++ b/src/main/java/pw/yumc/Yum/models/PluginInfo.java @@ -1,4 +1,4 @@ -package pw.yumc.Yum.manager.module; +package pw.yumc.Yum.models; import java.io.Serializable; @@ -7,9 +7,9 @@ import org.bukkit.command.CommandSender; import cn.citycraft.PluginHelper.PluginHelperLogger; import cn.citycraft.PluginHelper.utils.IOUtil; -import pw.yumc.Yum.manager.module.RepoSerialization.Plugin; -import pw.yumc.Yum.manager.module.RepoSerialization.TagInfo; -import pw.yumc.Yum.manager.module.RepoSerialization.URLType; +import pw.yumc.Yum.models.RepoSerialization.Plugin; +import pw.yumc.Yum.models.RepoSerialization.TagInfo; +import pw.yumc.Yum.models.RepoSerialization.URLType; public class PluginInfo implements Serializable { public static final String NMSVersion = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3]; diff --git a/src/main/java/pw/yumc/Yum/manager/module/RepoCache.java b/src/main/java/pw/yumc/Yum/models/RepoCache.java similarity index 93% rename from src/main/java/pw/yumc/Yum/manager/module/RepoCache.java rename to src/main/java/pw/yumc/Yum/models/RepoCache.java index ed242cd..572cf15 100644 --- a/src/main/java/pw/yumc/Yum/manager/module/RepoCache.java +++ b/src/main/java/pw/yumc/Yum/models/RepoCache.java @@ -1,4 +1,4 @@ -package pw.yumc.Yum.manager.module; +package pw.yumc.Yum.models; import java.io.Serializable; import java.util.ArrayList; @@ -10,7 +10,7 @@ import java.util.Map.Entry; import cn.citycraft.PluginHelper.PluginHelperLogger; import cn.citycraft.PluginHelper.jsonresult.JsonHandle; import cn.citycraft.PluginHelper.utils.IOUtil; -import pw.yumc.Yum.manager.module.RepoSerialization.Repositories; +import pw.yumc.Yum.models.RepoSerialization.Repositories; public class RepoCache implements Serializable { PluginHelperLogger logger = PluginHelperLogger.getLogger(); diff --git a/src/main/java/pw/yumc/Yum/manager/module/RepoSerialization.java b/src/main/java/pw/yumc/Yum/models/RepoSerialization.java similarity index 93% rename from src/main/java/pw/yumc/Yum/manager/module/RepoSerialization.java rename to src/main/java/pw/yumc/Yum/models/RepoSerialization.java index 56f6be5..8870a2e 100644 --- a/src/main/java/pw/yumc/Yum/manager/module/RepoSerialization.java +++ b/src/main/java/pw/yumc/Yum/models/RepoSerialization.java @@ -1,7 +1,7 @@ /** * */ -package pw.yumc.Yum.manager.module; +package pw.yumc.Yum.models; import java.io.Serializable; import java.util.ArrayList;