mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Cosmetics.
This commit is contained in:
parent
dc1f19458f
commit
43dbe6cc86
2 changed files with 2 additions and 3 deletions
|
@ -130,14 +130,14 @@ public class PDOMSearchLabelProvider extends LabelProvider implements IStyledLab
|
|||
|
||||
if (element instanceof IIndexFileLocation) {
|
||||
IPath path= IndexLocationFactory.getPath((IIndexFileLocation)element);
|
||||
if(path!=null) {
|
||||
if (path != null) {
|
||||
// these are categorized into directories already
|
||||
return path.lastSegment();
|
||||
}
|
||||
}
|
||||
|
||||
if (element instanceof URI) {
|
||||
return ((URI)element).toString();
|
||||
return ((URI) element).toString();
|
||||
}
|
||||
|
||||
if (element instanceof IStatus) {
|
||||
|
|
|
@ -133,5 +133,4 @@ public class PDOMSearchListContentProvider implements
|
|||
public void clear() {
|
||||
viewer.refresh();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue