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:
parent
1201ff5f7c
commit
cf3e26e371
4 changed files with 16 additions and 1 deletions
|
@ -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
|
2003-10-29 Mikhail Khodjaiants
|
||||||
* CProjectSourceLocation.java: added 'toString' method.
|
* CProjectSourceLocation.java: added 'toString' method.
|
||||||
|
|
||||||
|
|
|
@ -67,4 +67,6 @@ public interface ICSourceLocation extends IAdaptable
|
||||||
* @param search - a value to set
|
* @param search - a value to set
|
||||||
*/
|
*/
|
||||||
void setSearchForDuplicateFiles( boolean search );
|
void setSearchForDuplicateFiles( boolean search );
|
||||||
|
|
||||||
|
void dispose();
|
||||||
}
|
}
|
||||||
|
|
|
@ -508,4 +508,11 @@ public class CDirectorySourceLocation implements IDirectorySourceLocation
|
||||||
{
|
{
|
||||||
return ( getDirectory() != null ) ? getDirectory().toOSString() : "";
|
return ( getDirectory() != null ) ? getDirectory().toOSString() : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.debug.core.sourcelookup.ICSourceLocation#dispose()
|
||||||
|
*/
|
||||||
|
public void dispose()
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -216,7 +216,7 @@ public class CProjectSourceLocation implements IProjectSourceLocation
|
||||||
fNotFoundCache.add( name );
|
fNotFoundCache.add( name );
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void dispose()
|
public void dispose()
|
||||||
{
|
{
|
||||||
fCache.clear();
|
fCache.clear();
|
||||||
fNotFoundCache.clear();
|
fNotFoundCache.clear();
|
||||||
|
|
Loading…
Add table
Reference in a new issue