mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 13:55:39 +02:00
Cosmetics.
This commit is contained in:
parent
c644a857ba
commit
63019e2c6a
2 changed files with 26 additions and 27 deletions
|
@ -82,8 +82,8 @@ public class CSearchResult extends AbstractTextSearchResult implements IEditorMa
|
||||||
try {
|
try {
|
||||||
final IStorage storage= ((IStorageEditorInput) input).getStorage();
|
final IStorage storage= ((IStorageEditorInput) input).getStorage();
|
||||||
path= storage.getFullPath();
|
path= storage.getFullPath();
|
||||||
} catch (CoreException exc) {
|
} catch (CoreException e) {
|
||||||
// ignore
|
CUIPlugin.log(e);
|
||||||
}
|
}
|
||||||
} else if (input instanceof IPathEditorInput) {
|
} else if (input instanceof IPathEditorInput) {
|
||||||
path= ((IPathEditorInput) input).getPath();
|
path= ((IPathEditorInput) input).getPath();
|
||||||
|
@ -191,7 +191,7 @@ public class CSearchResult extends AbstractTextSearchResult implements IEditorMa
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Remember whether the indexer was busy when the search was performed.
|
* Remembers whether the indexer was busy when the search was performed.
|
||||||
* @param b
|
* @param b
|
||||||
*/
|
*/
|
||||||
public void setIndexerBusy(boolean b) {
|
public void setIndexerBusy(boolean b) {
|
||||||
|
@ -199,7 +199,7 @@ public class CSearchResult extends AbstractTextSearchResult implements IEditorMa
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tell if the indexer was busy when search results were gathered.
|
* Tells if the indexer was busy when search results were gathered.
|
||||||
*/
|
*/
|
||||||
public boolean wasIndexerBusy() {
|
public boolean wasIndexerBusy() {
|
||||||
return indexerBusy;
|
return indexerBusy;
|
||||||
|
|
|
@ -14,7 +14,6 @@ import org.eclipse.search.ui.text.Match;
|
||||||
import org.eclipse.search.ui.text.MatchFilter;
|
import org.eclipse.search.ui.text.MatchFilter;
|
||||||
|
|
||||||
public class HidePolymorphicCalls extends MatchFilter {
|
public class HidePolymorphicCalls extends MatchFilter {
|
||||||
|
|
||||||
public static final MatchFilter FILTER = new HidePolymorphicCalls();
|
public static final MatchFilter FILTER = new HidePolymorphicCalls();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue