changeset 22396:78f014d57b4b

Source: remove redundant assertion
author Andreas Woess <andreas.woess@oracle.com>
date Thu, 19 Nov 2015 16:02:48 +0100
parents 7a147c6abace
children 27cf58ec97ae
files truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java	Thu Nov 19 15:59:41 2015 +0100
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/source/Source.java	Thu Nov 19 16:02:48 2015 +0100
@@ -229,7 +229,6 @@
      */
     public static Source fromText(CharSequence chars, String description) {
         CompilerAsserts.neverPartOfCompilation();
-        assert chars != null;
         return new LiteralSource(description, chars.toString());
     }