Mercurial > hg > truffle
changeset 22472:f9f97ca1d66d
backout 64d5619ebbce
author | Michael Van De Vanter <michael.van.de.vanter@oracle.com> |
---|---|
date | Mon, 07 Dec 2015 11:17:16 -0800 |
parents | 64d5619ebbce |
children | 1ea1e410ed3d |
files | truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java Sun Dec 06 20:12:43 2015 -0800 +++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/SourceSection.java Mon Dec 07 11:17:16 2015 -0800 @@ -37,12 +37,6 @@ * @see #createUnavailable */ public final class SourceSection { - - /** - * The identifier stored when source information is unavailable. - */ - public static String UNKNOWN = "<unknown>"; - private final Source source; private final String identifier; private final int startLine; @@ -268,6 +262,6 @@ * @return source section which is mostly <em>empty</em> */ 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 ? "<unknown>" : name, -1, -1, -1, -1); } }