Author: scabanovich
Date: 2008-04-02 14:30:35 -0400 (Wed, 02 Apr 2008)
New Revision: 7273
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/trees/FileSystemResourceTree.java
Log:
JBIDE-1985
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/trees/FileSystemResourceTree.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/trees/FileSystemResourceTree.java 2008-04-02
18:26:13 UTC (rev 7272)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/impl/trees/FileSystemResourceTree.java 2008-04-02
18:30:35 UTC (rev 7273)
@@ -119,7 +119,8 @@
if(type != XModelObject.FILE) return false;
String pathpart = o.getPathPart();
String pp = pathpart.substring(pathpart.lastIndexOf('.') + 1);
- pp = FilePathHelper.toPathPath(pp);
+// pp = FilePathHelper.toPathPath(pp); // What about UNIX?
+ pp = pp.toLowerCase();
String ent = o.getModelEntity().getName();
return (extensions == null || extensions.contains(pp)) &&
(entities == null || entities.contains(ent));