Author: dazarov
Date: 2012-01-05 15:38:05 -0500 (Thu, 05 Jan 2012)
New Revision: 37662
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java
Log:
EL refactoring for @Named beans doesn't work properly
https://issues.jboss.org/browse/JBIDE-10210
Modified:
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java
===================================================================
---
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java 2012-01-05
18:25:20 UTC (rev 37661)
+++
trunk/cdi/plugins/org.jboss.tools.cdi.core/src/org/jboss/tools/cdi/internal/core/refactoring/CDIRenameProcessor.java 2012-01-05
20:38:05 UTC (rev 37662)
@@ -168,7 +168,7 @@
@Override
protected IContainer getViewFolder(IProject project) {
- IPath path = ProjectHome.getFirstWebContentPath(baseFile.getProject());
+ IPath path = ProjectHome.getFirstWebContentPath(project);
if(path != null)
return project.getFolder(path.removeFirstSegments(1));