|
From: <caw...@us...> - 2007-08-21 19:22:32
|
Revision: 3033
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3033&view=rev
Author: cawilliams
Date: 2007-08-21 12:22:31 -0700 (Tue, 21 Aug 2007)
Log Message:
-----------
avoid NPE
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/TypeReferencePattern.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/TypeReferencePattern.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/TypeReferencePattern.java 2007-08-21 19:15:48 UTC (rev 3032)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/matching/TypeReferencePattern.java 2007-08-21 19:22:31 UTC (rev 3033)
@@ -30,7 +30,7 @@
public TypeReferencePattern(char[] qualification, char[] simpleName, int matchRule) {
this(matchRule);
- if (qualification.length == 0) {
+ if (qualification != null && qualification.length == 0) {
this.qualification = null;
} else {
this.qualification = isCaseSensitive() ? qualification : CharOperation.toLowerCase(qualification);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|