mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
format code...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
6be0ea2b06
commit
bf735307e8
@ -73,11 +73,7 @@ public class CommandRepo extends BaseCommand {
|
|||||||
@Override
|
@Override
|
||||||
public List<String> onTabComplete(final CommandSender sender, final Command command, final String label, final String[] args) {
|
public List<String> onTabComplete(final CommandSender sender, final Command command, final String label, final String[] args) {
|
||||||
if (args[0].equalsIgnoreCase("repo")) {
|
if (args[0].equalsIgnoreCase("repo")) {
|
||||||
return StringUtil.copyPartialMatches(args[1], Arrays.asList(new String[] { "add",
|
return StringUtil.copyPartialMatches(args[1], Arrays.asList(new String[] { "add", "list", "clean", "update" }), new ArrayList<String>());
|
||||||
"list",
|
|
||||||
"clean",
|
|
||||||
"update" }),
|
|
||||||
new ArrayList<String>());
|
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user