# HG changeset patch # User Michael Van De Vanter # Date 1449554879 28800 # Node ID 55e2a3f215287dd64a51d8dbcc3a5282cd47409a # Parent 1b11227a5a6158a62c893f17ee6838efd78dba66 Truffle/Source: second backout of backout 64d5619ebbce (change to SourceSection unknown) diff -r 1b11227a5a61 -r 55e2a3f21528 truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java --- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java Mon Dec 07 21:54:55 2015 -0800 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java Mon Dec 07 22:07:59 2015 -0800 @@ -37,12 +37,6 @@ * @see #createUnavailable */ public final class SourceSection { - - /** - * The identifier stored when source information is unavailable. - */ - public static String UNKNOWN = ""; - private final Source source; private final String identifier; private final int startLine; @@ -281,6 +275,6 @@ * @return source section which is mostly empty */ public static SourceSection createUnavailable(String kind, String name) { - return new SourceSection(kind, null, name == null ? UNKNOWN : name, -1, -1, -1, -1); + return new SourceSection(kind, null, name == null ? "" : name, -1, -1, -1, -1); } }