mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Fix compilation error with Eclipse 3.5
This commit is contained in:
parent
3898f8eaa7
commit
99bacfaf68
1 changed files with 4 additions and 1 deletions
|
@ -77,6 +77,7 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#findSourceElements(java.lang.Object)
|
||||
*/
|
||||
@Override
|
||||
public Object[] findSourceElements( Object object ) throws CoreException {
|
||||
|
||||
// Workaround for BUG247977
|
||||
|
@ -152,13 +153,14 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
|||
* @see CSourceLookupParticipant#findSourceElements(Object)
|
||||
*/
|
||||
@Override
|
||||
protected boolean isFindDuplicates() {
|
||||
public boolean isFindDuplicates() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#dispose()
|
||||
*/
|
||||
@Override
|
||||
public void dispose() {
|
||||
fListeners.removeAll();
|
||||
super.dispose();
|
||||
|
@ -175,6 +177,7 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
|||
/* (non-Javadoc)
|
||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#sourceContainersChanged(org.eclipse.debug.core.sourcelookup.ISourceLookupDirector)
|
||||
*/
|
||||
@Override
|
||||
public void sourceContainersChanged( ISourceLookupDirector director ) {
|
||||
Object[] listeners = fListeners.getListeners();
|
||||
for ( int i = 0; i < listeners.length; ++i )
|
||||
|
|
Loading…
Add table
Reference in a new issue