1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 199609, ignore whitespace.

This commit is contained in:
Ken Ryall 2008-01-17 04:35:29 +00:00
parent b9ff3bf0f9
commit c4399d7061

View file

@ -81,7 +81,8 @@ public class PDOMSearchPatternQuery extends PDOMSearchQuery {
super(scope, flags);
this.scopeDesc = scopeDesc;
this.patternStr = patternStr;
// remove spurious whitespace, which will make the search fail 100% of the time
this.patternStr = patternStr.trim();
// Parse the pattern string
List patternList = new ArrayList();