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

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-11-25 16:23:45 -08:00
parent 24fb4904b3
commit 5e30602ff3
4 changed files with 8 additions and 8 deletions

View file

@ -25,7 +25,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner;
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner {
public static final ICPPASTAliasDeclaration[] EMPTY_USINGDIRECTIVE_ARRAY = {};
public static final ICPPASTAliasDeclaration[] EMPTY_ALIAS_DECLARATION_ARRAY = {};
/**
* <code>ALIAS_NAME</code> is the name that is brought into local

View file

@ -24,7 +24,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner;
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICPPASTUsingDirective extends IASTDeclaration, IASTNameOwner, IASTAttributeOwner {
public static final ICPPASTUsingDirective[] EMPTY_USINGDIRECTIVE_ARRAY = new ICPPASTUsingDirective[0];
public static final ICPPASTUsingDirective[] EMPTY_USINGDIRECTIVE_ARRAY = {};
/**
* <code>QUALIFIED_NAME</code> is the name that is brought into local

View file

@ -36,7 +36,7 @@ class CompositeCPPEnumeration extends CompositeCPPBinding implements ICPPEnumera
@Override
public boolean isSameType(IType type) {
return ((IEnumeration)rbinding).isSameType(type);
return ((IEnumeration) rbinding).isSameType(type);
}
@Override
@ -48,17 +48,17 @@ class CompositeCPPEnumeration extends CompositeCPPBinding implements ICPPEnumera
}
@Override
public long getMinValue() {
return ((IEnumeration)rbinding).getMinValue();
return ((IEnumeration) rbinding).getMinValue();
}
@Override
public long getMaxValue() {
return ((IEnumeration)rbinding).getMaxValue();
return ((IEnumeration) rbinding).getMaxValue();
}
@Override
public boolean isScoped() {
return ((ICPPEnumeration)rbinding).isScoped();
return ((ICPPEnumeration) rbinding).isScoped();
}
@Override

View file

@ -25,13 +25,13 @@ class CompositeCPPTypedef extends CompositeCPPBinding implements ITypedef, IInde
@Override
public IType getType() {
IType type = ((ITypedef)rbinding).getType();
IType type = ((ITypedef) rbinding).getType();
return cf.getCompositeType(type);
}
@Override
public boolean isSameType(IType type) {
return ((ITypedef)rbinding).isSameType(type);
return ((ITypedef) rbinding).isSameType(type);
}
@Override