diff options
author | Pascal Rapicault | 2011-06-13 00:42:45 +0000 |
---|---|---|
committer | Pascal Rapicault | 2011-06-13 00:42:45 +0000 |
commit | 22433f614ee6f55c9e6bdc90db152d14682a4b4e (patch) | |
tree | 2a9d47e5d3e5b6cd0bbb13774f2064e410c98d01 /bundles/org.eclipse.equinox.p2.engine/src | |
parent | c8f799c853ad1e6d243b384252cd938bf5557e34 (diff) | |
download | rt.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.java | 2 |
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$ } }); |