Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Paul2008-06-17 11:29:53 -0400
committerWarren Paul2008-06-17 11:29:53 -0400
commitfbe5d4b7dbad2a56bd867db737b5bafc335e298f (patch)
treed05cff2645a8ff9b70c902c95dc4fa4174b9be28
parenta61c0fb0a01dec4c6fd0d24847ae90c3adda5893 (diff)
downloadorg.eclipse.cdt-fbe5d4b7dbad2a56bd867db737b5bafc335e298f.tar.gz
org.eclipse.cdt-fbe5d4b7dbad2a56bd867db737b5bafc335e298f.tar.xz
org.eclipse.cdt-fbe5d4b7dbad2a56bd867db737b5bafc335e298f.zip
fixed bug #237385.
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/EFSFileStorage.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/EFSFileStorage.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/EFSFileStorage.java
index e0db10a41b..2242b83d72 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/EFSFileStorage.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/resources/EFSFileStorage.java
@@ -117,4 +117,11 @@ public class EFSFileStorage extends PlatformObject implements IStorage {
return locationURI;
}
+ @Override
+ public boolean equals(Object obj) {
+ if (obj instanceof EFSFileStorage && locationURI != null) {
+ return locationURI.equals(((EFSFileStorage)obj).getLocationURI());
+ }
+ return false;
+ }
}

Back to the top