mirror of
				https://github.com/RAIRLab/Spectra.git
				synced 2025-10-26 22:51:19 +00: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…
	
	Add table
		Add a link
		
	
		Reference in a new issue