1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-01-16 21:34:21 +00:00
parent 9799e9c101
commit e07fbf49f5

View file

@ -30,7 +30,7 @@ import org.eclipse.core.runtime.CoreException;
public class ASTInternal {
public static IASTNode[] getDeclarationsOfBinding(IBinding binding) {
if (binding instanceof ICPPInternalBinding) {
return ((ICPPInternalBinding)binding).getDeclarations();
return ((ICPPInternalBinding) binding).getDeclarations();
}
assert false;
return IASTNode.EMPTY_NODE_ARRAY;
@ -57,7 +57,7 @@ public class ASTInternal {
public static boolean isStatic(IFunction func, boolean resolveAll) {
if (func instanceof ICPPInternalFunction) {
return ((ICPPInternalFunction)func).isStatic(resolveAll);
return ((ICPPInternalFunction) func).isStatic(resolveAll);
}
if (func instanceof ICInternalFunction) {
return ((ICInternalFunction) func).isStatic(resolveAll);