|
From: <caw...@us...> - 2007-08-07 15:47:27
|
Revision: 2930
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2930&view=rev
Author: cawilliams
Date: 2007-08-07 08:47:24 -0700 (Tue, 07 Aug 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java
Modified: trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java
===================================================================
--- trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java 2007-08-07 15:39:53 UTC (rev 2929)
+++ trunk/org.rubypeople.rdt.debug.ui/src/org/rubypeople/rdt/internal/debug/ui/RubySourceLocator.java 2007-08-07 15:47:24 UTC (rev 2930)
@@ -106,6 +106,7 @@
private IFile workspaceFile;
public SourceElement(String aFilename, RubySourceLocator pSourceLocator) {
filename = aFilename;
+ if (filename == null) return;
if (filename.startsWith("./") && pSourceLocator.projectName != null && pSourceLocator.projectName.trim().length() > 0) {
filename = "/" + pSourceLocator.projectName + filename.substring(1);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|