Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2008-03-03 01:48:46 +0000
committerPascal Rapicault2008-03-03 01:48:46 +0000
commit7bdc1f434700640082c62686918e7fb85bcb92b0 (patch)
tree22e2c07bc5e85b511f25d1820443f05e1decba8a
parentc0342d33ac9d6664f2c2e94ca225694f5079cadf (diff)
downloadrt.equinox.p2-7bdc1f434700640082c62686918e7fb85bcb92b0.tar.gz
rt.equinox.p2-7bdc1f434700640082c62686918e7fb85bcb92b0.tar.xz
rt.equinox.p2-7bdc1f434700640082c62686918e7fb85bcb92b0.zip
fix the equals methodv20080302
-rw-r--r--bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/BundleInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/BundleInfo.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/BundleInfo.java
index c2ea527a0..49dea4263 100644
--- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/BundleInfo.java
+++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/BundleInfo.java
@@ -88,7 +88,7 @@ public class BundleInfo {
if (info.symbolicName.equals(symbolicName) && info.version.equals(version) && (info.location == null || location == null ? true : new Path(info.location).toFile().equals(new Path(location).toFile())))
return true;
} else {
- return (info.location == null || location == null ? false : info.location.equals(location));
+ return (info.location == null || location == null ? false : new Path(info.location).toFile().equals(new Path(location).toFile()));
}
}
return false;

Back to the top