1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

CProjectSourceLocation.java: added 'toString' method.

This commit is contained in:
Mikhail Khodjaiants 2003-10-29 20:54:40 +00:00
parent cb96ed307b
commit 1201ff5f7c
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,6 @@
2003-10-29 Mikhail Khodjaiants
* CProjectSourceLocation.java: added 'toString' method.
2003-10-28 Mikhail Khodjaiants 2003-10-28 Mikhail Khodjaiants
Search only in the parent folders if the given file path is absolute. Search only in the parent folders if the given file path is absolute.
Return a list only if the number of resulting files is > 1. Return a list only if the number of resulting files is > 1.

View file

@ -388,4 +388,9 @@ public class CProjectSourceLocation implements IProjectSourceLocation
fNotFoundCache.clear(); fNotFoundCache.clear();
fSearchForDuplicateFiles = search; fSearchForDuplicateFiles = search;
} }
public String toString()
{
return ( getProject() != null ) ? fProject.toString() : "";
}
} }