Moved generic resolvers to a separate package

This commit is contained in:
493msi 2020-09-24 03:32:32 +02:00
parent 5952a26fee
commit c3db492a6d
2 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,9 @@
package cz.tefek.pluto.command.resolver; package cz.tefek.pluto.command.resolver.generic;
import java.util.function.Function; import java.util.function.Function;
import cz.tefek.pluto.command.resolver.AbstractResolver;
public abstract class GenericResolver<R> extends AbstractResolver public abstract class GenericResolver<R> extends AbstractResolver
{ {
protected Function<String, R> func; protected Function<String, R> func;

View File

@ -1,8 +1,4 @@
package cz.tefek.pluto.command.resolver.primitive; package cz.tefek.pluto.command.resolver.generic;
import java.util.function.Function;
import cz.tefek.pluto.command.resolver.GenericResolver;
public class StringResolver extends GenericResolver<String> public class StringResolver extends GenericResolver<String>
{ {