Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Camelon2004-09-29 10:52:24 -0400
committerJohn Camelon2004-09-29 10:52:24 -0400
commitbab0c22d3ae3df10edaee44a96013b400f3bc647 (patch)
treeddb5072129b59b310b473606e7daf74ed88b557c /core
parent055e7d13ecf896ad8443f1c7facbdaa7ff574d1f (diff)
downloadorg.eclipse.cdt-bab0c22d3ae3df10edaee44a96013b400f3bc647.tar.gz
org.eclipse.cdt-bab0c22d3ae3df10edaee44a96013b400f3bc647.tar.xz
org.eclipse.cdt-bab0c22d3ae3df10edaee44a96013b400f3bc647.zip
Removed warning.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNewExpression.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNewExpression.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNewExpression.java
index 9cf647e20fd..506b64f26b3 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNewExpression.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/ast/complete/ASTNewExpression.java
@@ -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++ )
{

Back to the top