Skip to content

Commit 5ca3732

Browse files
committed
fix: make providing no message not show an empty line
1 parent 97d2b05 commit 5ca3732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/pedropathing/telemetry/Selector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public Selector(Folder<T> rootFolder, String message) {
1919
}
2020

2121
public Selector(Folder<T> rootFolder) {
22-
this(rootFolder, "");
22+
this(rootFolder, new String[]{});
2323
}
2424

2525
public static <T> Selector<T> create(String name, Consumer<SelectScope<T>> children,
@@ -35,7 +35,7 @@ public static <T> Selector<T> create(String name, Consumer<SelectScope<T>> child
3535
}
3636

3737
public static <T> Selector<T> create(String name, Consumer<SelectScope<T>> children) {
38-
return create(name, children, "");
38+
return create(name, children, new String[]{});
3939
}
4040

4141
public List<String> getLines() {

0 commit comments

Comments
 (0)