From c3db492a6d2f56a60e37a4e729c4e338e22f87c4 Mon Sep 17 00:00:00 2001 From: 493msi <493msi@gmail.com> Date: Thu, 24 Sep 2020 03:32:32 +0200 Subject: [PATCH] Moved generic resolvers to a separate package --- .../command/resolver/{ => generic}/GenericResolver.java | 4 +++- .../resolver/{primitive => generic}/StringResolver.java | 6 +----- 2 files changed, 4 insertions(+), 6 deletions(-) rename plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/{ => generic}/GenericResolver.java (78%) rename plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/{primitive => generic}/StringResolver.java (61%) diff --git a/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/GenericResolver.java b/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/GenericResolver.java similarity index 78% rename from plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/GenericResolver.java rename to plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/GenericResolver.java index 59692b3..f86d3ed 100644 --- a/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/GenericResolver.java +++ b/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/GenericResolver.java @@ -1,7 +1,9 @@ -package cz.tefek.pluto.command.resolver; +package cz.tefek.pluto.command.resolver.generic; import java.util.function.Function; +import cz.tefek.pluto.command.resolver.AbstractResolver; + public abstract class GenericResolver extends AbstractResolver { protected Function func; diff --git a/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/primitive/StringResolver.java b/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/StringResolver.java similarity index 61% rename from plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/primitive/StringResolver.java rename to plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/StringResolver.java index 5de9f2b..59b9c85 100644 --- a/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/primitive/StringResolver.java +++ b/plutocommandparser/src/main/java/cz/tefek/pluto/command/resolver/generic/StringResolver.java @@ -1,8 +1,4 @@ -package cz.tefek.pluto.command.resolver.primitive; - -import java.util.function.Function; - -import cz.tefek.pluto.command.resolver.GenericResolver; +package cz.tefek.pluto.command.resolver.generic; public class StringResolver extends GenericResolver {