|
From: <caw...@us...> - 2007-05-17 15:56:06
|
Revision: 2497
http://svn.sourceforge.net/rubyeclipse/?rev=2497&view=rev
Author: cawilliams
Date: 2007-05-17 08:55:56 -0700 (Thu, 17 May 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/search/SearchPattern.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/search/SearchPattern.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/search/SearchPattern.java 2007-05-17 14:37:56 UTC (rev 2496)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/search/SearchPattern.java 2007-05-17 15:55:56 UTC (rev 2497)
@@ -390,7 +390,8 @@
* - '?' is treated as a wildcard when it is inside <> (ie. it must be put on first position of the type argument)
*/
private static SearchPattern createTypePattern(String patternString, int limitTo, int matchRule, char indexSuffix) {
- char[] typePart = patternString.toCharArray();
+ char[] typePart = null;
+ if (patternString != null) typePart = patternString.toCharArray();
char[] typeChars = null;
char[] qualificationChars = null;
// get qualification name
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|