Author: dazarov
Date: 2009-06-08 09:01:51 -0400 (Mon, 08 Jun 2009)
New Revision: 15771
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4437
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java 2009-06-08
12:34:47 UTC (rev 15770)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/refactoring/SeamRenameProcessor.java 2009-06-08
13:01:51 UTC (rev 15771)
@@ -152,6 +152,10 @@
return;
ISeamProject seamProject = SeamCorePlugin.getSeamProject(declarationFile.getProject(),
true);
+
+ if(seamProject == null)
+ return;
+
files.clear();
findAnnotations(seamProject, true);
@@ -343,7 +347,8 @@
IProject[] projects = projectsSet.getAllProjects();
for (IProject project : projects) {
- scan(project);
+ if(project != null)
+ scan(project);
}
}