Skip to content

Commit e1eea96

Browse files
committed
Do not lower-case the search query
It is the responsibility of each searcher to decide whether it cares about the case. In particular, the code snippet searcher _needs_ the case to be correct or else the code snippet will not run correctly.
1 parent faeaefb commit e1eea96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/scijava/ui/swing/search/SwingSearchBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ public void mouseMoved(final MouseEvent e) {
560560
public void search(final String text) {
561561
assertDispatchThread();
562562
searchText = text;
563-
operation.search(text.toLowerCase());
563+
operation.search(text);
564564
}
565565

566566
// -- Helper methods --

0 commit comments

Comments
 (0)