|
From: <caw...@us...> - 2007-06-19 18:18:38
|
Revision: 2634
http://svn.sourceforge.net/rubyeclipse/?rev=2634&view=rev
Author: cawilliams
Date: 2007-06-19 11:18:31 -0700 (Tue, 19 Jun 2007)
Log Message:
-----------
make sure type isn't null to avoid null pointer exceptions
Modified Paths:
--------------
trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/internal/testunit/ui/TestUnitView.java
Modified: trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/internal/testunit/ui/TestUnitView.java
===================================================================
--- trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/internal/testunit/ui/TestUnitView.java 2007-06-19 16:02:37 UTC (rev 2633)
+++ trunk/org.rubypeople.rdt.testunit/src/org/rubypeople/rdt/internal/testunit/ui/TestUnitView.java 2007-06-19 18:18:31 UTC (rev 2634)
@@ -501,7 +501,7 @@
setViewPartTitle(type);
if (type instanceof IType)
setTitleToolTip(((IType)type).getFullyQualifiedName());
- else
+ else if (type != null)
setTitleToolTip(type.getElementName());
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|