1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 01:05:38 +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) { if (element instanceof IIndexFileLocation) {
IPath path= IndexLocationFactory.getPath((IIndexFileLocation)element); IPath path= IndexLocationFactory.getPath((IIndexFileLocation)element);
if(path!=null) { if (path != null) {
// these are categorized into directories already // these are categorized into directories already
return path.lastSegment(); return path.lastSegment();
} }
} }
if (element instanceof URI) { if (element instanceof URI) {
return ((URI)element).toString(); return ((URI) element).toString();
} }
if (element instanceof IStatus) { if (element instanceof IStatus) {

View file

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