|
From: <caw...@us...> - 2007-07-17 14:37:51
|
Revision: 2769
http://svn.sourceforge.net/rubyeclipse/?rev=2769&view=rev
Author: cawilliams
Date: 2007-07-17 07:37:49 -0700 (Tue, 17 Jul 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyDocumentProvider.java
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyDocumentProvider.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyDocumentProvider.java 2007-07-17 14:37:49 UTC (rev 2768)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/RubyDocumentProvider.java 2007-07-17 14:37:49 UTC (rev 2769)
@@ -49,7 +49,6 @@
import org.eclipse.ui.texteditor.MarkerUtilities;
import org.eclipse.ui.texteditor.ResourceMarkerAnnotationModel;
import org.rubypeople.rdt.core.IProblemRequestor;
-import org.rubypeople.rdt.core.IRubyProject;
import org.rubypeople.rdt.core.IRubyScript;
import org.rubypeople.rdt.core.RubyCore;
import org.rubypeople.rdt.core.RubyModelException;
@@ -212,8 +211,7 @@
extension.setIsActive(false);
extension.setIsHandlingTemporaryProblems(isHandlingTemporaryProblems());
}
- // FIXME If project doesn't have ruby nature, add it here
- IRubyProject project = original.getRubyProject();
+ // If project doesn't have ruby nature, add it here
IProject iProject = input.getFile().getProject();
if (!RubyProject.hasRubyNature(iProject)) {
RubyCore.addRubyNature(iProject, null);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|