From 88bebddab1e96b75db094f774016e5238f5b949a Mon Sep 17 00:00:00 2001 From: dwagelaar Date: Sun, 29 Mar 2015 22:52:16 +0200 Subject: FieldImpl.toString() should not include its static value, as this causes performance issues with e.g. the profiler. --- .../src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'plugins/org.eclipse.m2m.atl.emftvm') diff --git a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java index 502cf0d9..5fefa045 100644 --- a/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java +++ b/plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java @@ -563,15 +563,7 @@ public class FieldImpl extends FeatureImpl implements Field { */ @Override public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - if (isStatic()) { - result.append(" (staticValue: "); - result.append(staticValue); - result.append(')'); - } - return result.toString(); + return super.toString(); } /** -- cgit v1.2.3