diff src/luan/modules/url/LuanUrl.java @ 1333:25746915a241

merge Luan and LuanState
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Feb 2019 22:33:40 -0700
parents 35a6a195819f
children e0cf0d108a77
line wrap: on
line diff
--- a/src/luan/modules/url/LuanUrl.java	Tue Feb 12 21:50:26 2019 -0700
+++ b/src/luan/modules/url/LuanUrl.java	Tue Feb 12 22:33:40 2019 -0700
@@ -19,7 +19,6 @@
 import java.util.Base64;
 import luan.lib.parser.ParseException;
 import luan.Luan;
-import luan.LuanState;
 import luan.LuanTable;
 import luan.LuanJavaFunction;
 import luan.LuanException;
@@ -196,7 +195,7 @@
 		return t==null ? null : t.asMap();
 	}
 
-	@Override public InputStream inputStream(LuanState luan) throws IOException, LuanException {
+	@Override public InputStream inputStream(Luan luan) throws IOException, LuanException {
 		try {
 			return inputStream(luan,null);
 		} catch(AuthException e) {
@@ -208,7 +207,7 @@
 		}
 	}
 
-	private InputStream inputStream(LuanState luan,String authorization)
+	private InputStream inputStream(Luan luan,String authorization)
 		throws IOException, LuanException, AuthException
 	{
 		URLConnection con = url.openConnection();
@@ -270,7 +269,7 @@
 		}
 	}
 
-	private InputStream getInputStream(LuanState luan,HttpURLConnection httpCon,String authorization)
+	private InputStream getInputStream(Luan luan,HttpURLConnection httpCon,String authorization)
 		throws IOException, LuanException, AuthException
 	{
 		try {