1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-06-29 20:51:31 -07:00
parent 5854ece2d4
commit 1e2e41d302

View file

@ -162,7 +162,7 @@ public class CallHierarchyUI {
if (name.isDefinition()) {
ICElement elem= IndexUI.getCElementForName(project, index, name);
if (elem != null) {
return new ICElement[]{elem};
return new ICElement[] { elem };
}
return NO_ELEMENTS;
}
@ -174,14 +174,14 @@ public class CallHierarchyUI {
if (name.isDeclaration()) {
ICElementHandle elem= IndexUI.getCElementForName(project, index, name);
if (elem != null) {
return new ICElement[] {elem};
return new ICElement[] { elem };
}
return NO_ELEMENTS;
}
ICElementHandle elem= IndexUI.findAnyDeclaration(index, project, binding);
if (elem != null) {
return new ICElement[]{elem};
return new ICElement[] { elem };
}
if (binding instanceof ICPPSpecialization) {
@ -209,7 +209,7 @@ public class CallHierarchyUI {
if (elems.length == 0) {
ICElementHandle elem= IndexUI.findAnyDeclaration(index, project, original);
if (elem != null) {
elems= new ICElementHandle[]{elem};
elems= new ICElementHandle[] { elem };
}
}
if (elems.length > 0) {