mirror of
https://github.com/RAIRLab/Spectra.git
synced 2024-11-08 10:40:37 -05:00
Fixed bug with empty plan
This commit is contained in:
parent
26254f895a
commit
d647b0d37d
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,9 @@ public class Plan {
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (actions.size() == 0) {
|
||||
return "";
|
||||
}
|
||||
return actions.stream().map(x-> x.toString() + " ").reduce((x,y) -> x + y).get();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue