1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Removed warning.

This commit is contained in:
John Camelon 2004-09-29 14:52:24 +00:00
parent 055e7d13ec
commit bab0c22d3a

View file

@ -86,8 +86,8 @@ public class ASTNewExpression extends ASTExpression {
}
public ASTExpression findOwnerExpressionForIDExpression(ITokenDuple duple) {
ASTTypeId typeId = (ASTTypeId) getTypeId();
ITokenDuple typeDuple = typeId.getTokenDuple();
ASTTypeId ti = (ASTTypeId) getTypeId();
ITokenDuple typeDuple = ti.getTokenDuple();
if( typeDuple.equals( duple ) )
return this;
@ -97,8 +97,8 @@ public class ASTNewExpression extends ASTExpression {
//else, check the parameters
ASTExpression ownerExpression = null;
ASTNewDescriptor newDescriptor = (ASTNewDescriptor)getNewExpressionDescriptor();
List newInitializerExpressions = newDescriptor.getNewInitializerExpressionsList();
ASTNewDescriptor nd = (ASTNewDescriptor)getNewExpressionDescriptor();
List newInitializerExpressions = nd.getNewInitializerExpressionsList();
int size = newInitializerExpressions.size();
for( int i = 0; i < size; i++ )
{