|
From: <caw...@us...> - 2007-05-30 13:25:44
|
Revision: 2559
http://svn.sourceforge.net/rubyeclipse/?rev=2559&view=rev
Author: cawilliams
Date: 2007-05-30 06:25:39 -0700 (Wed, 30 May 2007)
Log Message:
-----------
clean up old todo, add new one
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchParticipant.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchParticipant.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchParticipant.java 2007-05-30 13:25:15 UTC (rev 2558)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/search/RubySearchParticipant.java 2007-05-30 13:25:39 UTC (rev 2559)
@@ -24,9 +24,8 @@
@Override
public void indexDocument(SearchDocument document, IPath indexLocation) {
- // TODO must verify that the document + indexPath match, when this is not called from scheduleDocumentIndexing
document.removeAllIndexEntries(); // in case the document was already indexed
-
+ // FIXME We can cheat and use indexLocation as the source folder root path, and determine the "src folder" names from the diff between it and documentPath!
String documentPath = document.getPath();
if (org.rubypeople.rdt.internal.core.util.Util.isRubyLikeFileName(documentPath)) {
new SourceIndexer(document).indexDocument();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|