1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-30 20:35:38 +02:00

Fix compilation error with Eclipse 3.5

This commit is contained in:
Anton Leherbauer 2008-11-24 09:47:20 +00:00
parent 3898f8eaa7
commit 99bacfaf68

View file

@ -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 )