changeset 22364:c1b1c06b49a3

change SourceSection.toString()
author Andreas Woess <andreas.woess@oracle.com>
date Fri, 13 Nov 2015 12:19:35 +0100
parents a360c82ba357
children c9ba649b0dc1
files truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java	Fri Nov 13 11:29:47 2015 +0100
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java	Fri Nov 13 12:19:35 2015 +0100
@@ -193,7 +193,7 @@
 
     @Override
     public String toString() {
-        return getCode();
+        return getShortDescription();
     }
 
     @Override