commit | 34938b281cc2f7cf3483453aade9a7460f7e50a1 | [log] [tgz] |
---|---|---|
author | cbridgha <cbridgha> | Tue Jun 21 14:05:28 2005 +0000 |
committer | cbridgha <cbridgha> | Tue Jun 21 14:05:28 2005 +0000 |
tree | a2a58bdb2795ebb3c2cabdbe297e3dcaa0d4d4c8 | |
parent | e439be77edc4f68701f1af52008bcad7702520ef [diff] |
[nobug] Fixing tests
diff --git a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java index f65aed2..cc9f485 100644 --- a/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java +++ b/plugins/org.eclipse.wst.common.modulecore/modulecore-src/org/eclipse/wst/common/componentcore/internal/resources/VirtualResource.java
@@ -174,8 +174,7 @@ public IVirtualContainer getParent() { if(getRuntimePath().segmentCount() > 1) return new VirtualFolder(getComponentHandle(), getRuntimePath().removeLastSegments(1)); - //return getComponent(); NA, to resolve the case of root folder - return null; + return getComponent().getRootFolder(); } public IProject getProject() {