style fix
This commit is contained in:
parent
f891fed721
commit
ebf9504b8e
1 changed files with 1 additions and 1 deletions
|
|
@ -703,7 +703,7 @@ public final class CloudBrigadierManager<C, S> {
|
||||||
private ParsedCommandNodeHandler() {
|
private ParsedCommandNodeHandler() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static <S> List<Pair<CommandNode<S>, StringRange>> toPairList(List<?> nodes) {
|
private static <S> List<Pair<CommandNode<S>, StringRange>> toPairList(final List<?> nodes) {
|
||||||
return ((List<ParsedCommandNode<S>>) nodes).stream()
|
return ((List<ParsedCommandNode<S>>) nodes).stream()
|
||||||
.map(n -> Pair.of(n.getNode(), n.getRange()))
|
.map(n -> Pair.of(n.getNode(), n.getRange()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue