1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-05-13 07:31:36 +00:00
parent dc1f19458f
commit 43dbe6cc86
2 changed files with 2 additions and 3 deletions

View file

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

View file

@ -133,5 +133,4 @@ public class PDOMSearchListContentProvider implements
public void clear() {
viewer.refresh();
}
}