mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for 102782 (Part II)
This commit is contained in:
parent
4762d82ac6
commit
5875bc56e8
1 changed files with 2 additions and 1 deletions
|
@ -250,7 +250,8 @@ public class MethodDeclarationPattern extends CSearchPattern {
|
|||
* @return
|
||||
*/
|
||||
private boolean matchReturnType(char[] tempReturnTypes, char[] tempDecodedReturnTypes) {
|
||||
if( tempReturnTypes == null || tempDecodedReturnTypes == null ){
|
||||
if( (tempReturnTypes == null || tempReturnTypes.length == 0)
|
||||
|| tempDecodedReturnTypes == null ){
|
||||
return true; //treat null as "*"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue