From 8c3d7d87ff91bc0b7a51a67e0c87d46360f20536 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Wed, 20 Aug 2003 01:22:21 +0000 Subject: [PATCH] refactorin the name to avoid confusion. --- .../cdt/debug/mi/core/cdi/model/VariableObject.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java index 6416b798b76..baa5ef5061d 100644 --- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java +++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/cdi/model/VariableObject.java @@ -148,19 +148,19 @@ public class VariableObject extends CObject implements ICDIVariableObject { ICDITarget target = getTarget(); Session session = (Session) (target.getSession()); SourceManager sourceMgr = (SourceManager) session.getSourceManager(); - String typename = getTypeName(); + String nametype = getTypeName(); try { - type = sourceMgr.getType(target, typename); + type = sourceMgr.getType(target, nametype); } catch (CDIException e) { // Try with ptype. try { - String ptype = sourceMgr.getDetailTypeName(typename); + String ptype = sourceMgr.getDetailTypeName(nametype); type = sourceMgr.getType(target, ptype); } catch (CDIException ex) { } } if (type == null) { - type = new IncompleteType(target, typename); + type = new IncompleteType(target, nametype); } } return type;