Author: dazarov
Date: 2010-10-21 08:29:48 -0400 (Thu, 21 Oct 2010)
New Revision: 25966
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/refactoring/RefactorSearcher.java
Log:
https://jira.jboss.org/browse/JBIDE-7312
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/refactoring/RefactorSearcher.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/refactoring/RefactorSearcher.java 2010-10-21
11:37:50 UTC (rev 25965)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/refactoring/RefactorSearcher.java 2010-10-21
12:29:48 UTC (rev 25966)
@@ -129,6 +129,9 @@
protected abstract IContainer getViewFolder(IProject project);
private void scanForJava(IContainer container){
+ if(container.getName().startsWith("."))
+ return;
+
try{
for(IResource resource : container.members()){
if(resource instanceof IFolder)
@@ -142,6 +145,9 @@
}
private void scan(IContainer container){
+ if(container.getName().startsWith("."))
+ return;
+
try{
for(IResource resource : container.members()){
if(resource instanceof IFolder)