Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2011-06-12 20:42:45 -0400
committerPascal Rapicault2011-06-12 20:42:45 -0400
commit22433f614ee6f55c9e6bdc90db152d14682a4b4e (patch)
tree2a9d47e5d3e5b6cd0bbb13774f2064e410c98d01 /bundles/org.eclipse.equinox.p2.engine/src
parentc8f799c853ad1e6d243b384252cd938bf5557e34 (diff)
downloadrt.equinox.p2-22433f614ee6f55c9e6bdc90db152d14682a4b4e.tar.gz
rt.equinox.p2-22433f614ee6f55c9e6bdc90db152d14682a4b4e.tar.xz
rt.equinox.p2-22433f614ee6f55c9e6bdc90db152d14682a4b4e.zip
Bug 277919 - Profile registry complains on non-HFS volume
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.engine/src')
-rw-r--r--bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/SimpleProfileRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/SimpleProfileRegistry.java b/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/SimpleProfileRegistry.java
index df8f23868..0853c2c41 100644
--- a/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/SimpleProfileRegistry.java
+++ b/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/SimpleProfileRegistry.java
@@ -214,7 +214,7 @@ public class SimpleProfileRegistry implements IProfileRegistry, IAgentService {
File[] profileFiles = profileDirectory.listFiles(new FileFilter() {
public boolean accept(File pathname) {
- return (pathname.getName().endsWith(PROFILE_EXT) || pathname.getName().endsWith(PROFILE_GZ_EXT)) && pathname.isFile();
+ return (pathname.getName().endsWith(PROFILE_EXT) || pathname.getName().endsWith(PROFILE_GZ_EXT)) && pathname.isFile() && !pathname.getName().startsWith("._"); //$NON-NLS-1$
}
});

Back to the top