Polish unused imports

This commit is contained in:
Janne Valkealahti
2021-12-11 13:09:00 +00:00
parent e30edf2446
commit 5e61ff1315
14 changed files with 31 additions and 41 deletions

View File

@@ -33,7 +33,6 @@ import javax.validation.ConstraintViolation;
import javax.validation.Validation;
import javax.validation.Validator;
import javax.validation.ValidatorFactory;
import javax.validation.executable.ExecutableValidator;
import org.jline.utils.Signals;
@@ -149,7 +148,7 @@ public class Shell implements CommandRegistry {
/**
* Evaluate a single "line" of input from the user by trying to map words to a command and
* arguments.
*
*
* <p>
* This method does not throw exceptions, it catches them and returns them as a regular
* result

View File

@@ -19,7 +19,6 @@ package org.springframework.shell.result;
import org.jline.utils.AttributedCharSequence;
import org.springframework.shell.ResultHandler;
import org.springframework.stereotype.Component;
/**
* A {@link ResultHandler} that knows how to render JLine's {@link AttributedCharSequence}.

View File

@@ -17,7 +17,6 @@
package org.springframework.shell.result;
import org.springframework.shell.ResultHandler;
import org.springframework.stereotype.Component;
/**
* A simple {@link ResultHandler} that deals with Objects (hence comes as a last resort)

View File

@@ -17,7 +17,6 @@
package org.springframework.shell.result;
import org.springframework.shell.ResultHandler;
import org.springframework.stereotype.Component;
/**
* A {@link ResultHandler} that deals with {@link Iterable}s and delegates to

View File

@@ -16,24 +16,24 @@
package org.springframework.shell.result;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.StreamSupport;
import javax.validation.ElementKind;
import javax.validation.Path;
import org.jline.utils.AttributedString;
import org.jline.utils.AttributedStringBuilder;
import org.jline.utils.AttributedStyle;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.MethodParameter;
import org.springframework.shell.ParameterDescription;
import org.springframework.shell.ParameterResolver;
import org.springframework.shell.ParameterValidationException;
import org.springframework.shell.Utils;
import org.springframework.stereotype.Component;
import javax.validation.ElementKind;
import javax.validation.Path;
import java.util.List;
import java.util.Optional;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import java.util.stream.StreamSupport;
/**
* Displays validation errors on the terminal.

View File

@@ -16,7 +16,6 @@
package org.springframework.shell.result;
import org.springframework.shell.ResultHandler;
import org.springframework.shell.TerminalSizeAware;
/**

View File

@@ -25,7 +25,6 @@ import org.springframework.context.annotation.Lazy;
import org.springframework.shell.CommandRegistry;
import org.springframework.shell.ResultHandler;
import org.springframework.shell.jline.InteractiveShellApplicationRunner;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
/**

View File

@@ -16,8 +16,6 @@
package org.springframework.shell.result;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Type;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;