1
0
mirror of https://e.coding.net/circlecloud/YumCore.git synced 2025-09-01 11:26:56 +00:00

chore: 去除System依赖

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
2016-11-15 20:25:27 +08:00
parent 1ecda20dad
commit 6cb55f5290
2 changed files with 16 additions and 44 deletions

View File

@ -70,7 +70,7 @@ public class CommandHelp {
*/
public CommandHelp(CommandInfo defCmd, Collection<? extends CommandInfo> list) {
this.defCmd = defCmd;
cmdlist = new LinkedList<>(list);
cmdlist = new LinkedList<CommandInfo>(list);
Collections.sort(cmdlist, new CommandNameComparator());
Collections.sort(cmdlist, new CommandComparator());
HELPPAGECOUNT = (int) Math.ceil((double) cmdlist.size() / LINES_PER_PAGE);