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 cz.tefek.pluto.command.resolver.AbstractResolver;
public abstract class GenericResolver<R> extends AbstractResolver
{
protected Function<String, R> func;

View File

@ -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<String>
{