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

Added the 'dispose' method to 'ICSourceLocation'.

This commit is contained in:
Mikhail Khodjaiants 2003-10-29 21:06:04 +00:00
parent 1201ff5f7c
commit cf3e26e371
4 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2003-10-29 Mikhail Khodjaiants
Added the 'dispose' method to 'ICSourceLocation'.
* ICSourceLocation.java
* CDirectorySourceLocation.java
* CProjectSourceLocation.java: made 'dispose' public.
2003-10-29 Mikhail Khodjaiants
* CProjectSourceLocation.java: added 'toString' method.

View file

@ -67,4 +67,6 @@ public interface ICSourceLocation extends IAdaptable
* @param search - a value to set
*/
void setSearchForDuplicateFiles( boolean search );
void dispose();
}

View file

@ -508,4 +508,11 @@ public class CDirectorySourceLocation implements IDirectorySourceLocation
{
return ( getDirectory() != null ) ? getDirectory().toOSString() : "";
}
/* (non-Javadoc)
* @see org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocation#dispose()
*/
public void dispose()
{
}
}

View file

@ -216,7 +216,7 @@ public class CProjectSourceLocation implements IProjectSourceLocation
fNotFoundCache.add( name );
}
protected void dispose()
public void dispose()
{
fCache.clear();
fNotFoundCache.clear();