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

@@ -19,13 +19,10 @@ package org.springframework.shell.standard;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.core.MethodParameter;
import org.springframework.shell.CommandRegistry;
import org.springframework.shell.CompletionContext;
import org.springframework.shell.CompletionProposal;
import org.springframework.shell.CommandRegistry;
import org.springframework.stereotype.Component;
/**
* A {@link ValueProvider} that can be used to auto-complete names of shell commands.

View File

@@ -22,7 +22,6 @@ import java.util.List;
import org.springframework.core.MethodParameter;
import org.springframework.shell.CompletionContext;
import org.springframework.shell.CompletionProposal;
import org.springframework.stereotype.Component;
/**
* A {@link ValueProvider} that knows how to complete values for {@link Enum} typed parameters.

View File

@@ -16,20 +16,19 @@
package org.springframework.shell.standard;
import org.springframework.core.MethodParameter;
import org.springframework.shell.CompletionContext;
import org.springframework.shell.CompletionProposal;
import java.io.File;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.file.FileVisitOption;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;
import java.util.stream.Collectors;
import org.springframework.core.MethodParameter;
import org.springframework.shell.CompletionContext;
import org.springframework.shell.CompletionProposal;
import static java.nio.file.FileVisitOption.FOLLOW_LINKS;
/**