scijava / scijava-search

Search framework for SciJava applications :mag:
BSD 2-Clause "Simplified" License
2 stars 2 forks source link

TemplateSearcher: filter empty strings #30

Closed gselzer closed 1 year ago

gselzer commented 1 year ago

This PR solves the issue described in imagej/napari-imagej#113, ensuring that no Script Templates results are returned when the user passes an empty string. I believe (and that issue reinforces) the fact that the least surprising thing would be to ensure no search results are returned when the text is empty.