stream cleanup
[org.ibex.core.git] / src / org / ibex / core / Template.java
index 7f342dd..efa3bbb 100644 (file)
@@ -157,7 +157,7 @@ public class Template {
        public TemplateHelper(String sourceName, JS s, Ibex ibex) throws XML.Exn, IOException, JSExn {
             this.sourceName = sourceName;
             this.ibex = ibex;
-            InputStream is = Stream.getInputStream(s);
+            InputStream is = s.getInputStream();
             Ibex.Blessing b = Ibex.Blessing.getBlessing(s).parent;
             while(b != null) {
                 if(b.parentkey != null) initial_uri = JS.toString(b.parentkey) + (initial_uri.equals("") ? "" : "." + initial_uri);