Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwagelaar2015-03-29 16:52:16 -0400
committerdwagelaar2015-03-29 16:52:16 -0400
commit88bebddab1e96b75db094f774016e5238f5b949a (patch)
tree2889f5db9d046954741e4c67c3532e666733b7d6 /plugins/org.eclipse.m2m.atl.emftvm
parentd7e7716df7150d845d14a1349cab6b893717a1cb (diff)
downloadorg.eclipse.atl-88bebddab1e96b75db094f774016e5238f5b949a.tar.gz
org.eclipse.atl-88bebddab1e96b75db094f774016e5238f5b949a.tar.xz
org.eclipse.atl-88bebddab1e96b75db094f774016e5238f5b949a.zip
FieldImpl.toString() should not include its static value, as this causes
performance issues with e.g. the profiler.
Diffstat (limited to 'plugins/org.eclipse.m2m.atl.emftvm')
-rw-r--r--plugins/org.eclipse.m2m.atl.emftvm/src/org/eclipse/m2m/atl/emftvm/impl/FieldImpl.java10
1 files changed, 1 insertions, 9 deletions
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();
}
/**

Back to the top