Polish unused imports
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}.
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
|
||||
package org.springframework.shell.result;
|
||||
|
||||
import org.springframework.shell.ResultHandler;
|
||||
import org.springframework.shell.TerminalSizeAware;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user