Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2007-12-08 23:10:42 -0500
committerSergey Prigogin2007-12-08 23:10:42 -0500
commita22d729e408e6dc8167e4c1058239ea3a73af8cf (patch)
tree78adf718c94e699f84891fc34164eb1360841af6
parentd1ced6a47ba57c47b00aaeb117e84e4010851c2b (diff)
downloadorg.eclipse.cdt-a22d729e408e6dc8167e4c1058239ea3a73af8cf.tar.gz
org.eclipse.cdt-a22d729e408e6dc8167e4c1058239ea3a73af8cf.tar.xz
org.eclipse.cdt-a22d729e408e6dc8167e4c1058239ea3a73af8cf.zip
Restored isConflictingName method.
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
index ad171feb8d..4d47363f5e 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
@@ -298,11 +298,11 @@ public class ErrorParserManager extends OutputStream {
/**
* Returns <code>true</code> if the project contains more than one file with the given name.
*/
-// public boolean isConflictingName(String fileName) {
-// IPath path = new Path(fileName);
-// Object obj = fFilesInProject.get(path.lastSegment());
-// return obj != null && !(obj instanceof IFile);
-// }
+ public boolean isConflictingName(String fileName) {
+ IPath path = new Path(fileName);
+ Object obj = fFilesInProject.get(path.lastSegment());
+ return obj != null && !(obj instanceof IFile);
+ }
/**
* Called by the error parsers.

Back to the top