mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 17:35:35 +02:00
fix for 149789
This commit is contained in:
parent
c048159b94
commit
0f27760625
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ public class NamePatternMatcher implements IMatcher
|
|||
public NamePatternMatcher(String genericName, boolean advanced, boolean caseSensitive)
|
||||
{
|
||||
this.caseSensitive = caseSensitive;
|
||||
genericName = genericName.trim();
|
||||
if (genericName == null)
|
||||
genericName = "*";
|
||||
int len = 0;
|
||||
// determine if given a null name
|
||||
if ((genericName == null) || (genericName.length()==0))
|
||||
|
|
Loading…
Add table
Reference in a new issue