Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use textual instead of Java search to find files to index. #136

Merged

Conversation

misto
Copy link
Member

@misto misto commented Jul 1, 2012

Instead of using a Java search for files that need to be included
in the refactoring index, we use a simple textual search. The problem
with the Java search was that it didn't find all occurrences of a term,
e.g. when a file contained only an import of a type, it wasn't found
by the Java search and thus not indexed and consequently not part of
the rename refactoring.

Fixes #1001117

Instead of using a Java search for files that need to be included
in the refactoring index, we use a simple textual search. The problem
with the Java search was that it didn't find all occurrences of a term,
e.g. when a file contained only an import of a type, it wasn't found
by the Java search and thus not indexed and consequently not part of
the rename refactoring.

Fixes #1001117
@scala-jenkins
Copy link

Started jenkins job pr-validator-master-2.9.x at https://jenkins.scala-ide.org:8496/jenkins/job/pr-validator-master-2.9.x/46/

@scala-jenkins
Copy link

Started jenkins job pr-validator-master-trunk at https://jenkins.scala-ide.org:8496/jenkins/job/pr-validator-master-trunk/27/

@scala-jenkins
Copy link

jenkins job pr-validator-master-2.9.x: Success - https://jenkins.scala-ide.org:8496/jenkins/job/pr-validator-master-2.9.x/46/

@scala-jenkins
Copy link

jenkins job pr-validator-master-trunk: Failed - https://jenkins.scala-ide.org:8496/jenkins/job/pr-validator-master-trunk/27/

@dragos
Copy link
Member

dragos commented Jul 2, 2012

LGTM (the trunk build is a spurious failure).

misto added a commit that referenced this pull request Jul 3, 2012
…-1001117

Use textual instead of Java search to find files to index.
@misto misto merged commit 654074c into scala-ide:master Jul 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants