Author: akazakov
Date: 2009-04-09 07:48:47 -0400 (Thu, 09 Apr 2009)
New Revision: 14628
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-1077
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java 2009-04-09
11:39:19 UTC (rev 14627)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/RenameComponentProcessor.java 2009-04-09
11:48:47 UTC (rev 14628)
@@ -152,21 +152,17 @@
}
return null;
}
-
+
// we need to find references in .java .xml .xhtml .jsp .properties files
private void findReferences(){
SeamProjectsSet projectsSet = new SeamProjectsSet(file.getProject());
-
- IProject warProject = projectsSet.getWarProject();
- if(warProject != null)
- scan(warProject);
-
- for(IProject project : projectsSet.getChildProjects()){
- if(project != null)
- scan(project);
+
+ IProject[] projects = projectsSet.getAllProjects();
+ for (int i = 0; i < projects.length; i++) {
+ scan(projects[i]);
}
}
-
+
private void scan(IProject project){
try{
for(IResource resource : project.members()){