diff core/src/luan/modules/IoLuan.java @ 433:c6bcb8859b93

make LuanState.registry a Map; remove generics from DeepCloneable; add Map support to DeepCloner;
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 03 May 2015 15:45:39 -0600
parents d9df6d6cb927
children 5b36f663a1b8
line wrap: on
line diff
--- a/core/src/luan/modules/IoLuan.java	Sat May 02 23:41:59 2015 -0600
+++ b/core/src/luan/modules/IoLuan.java	Sun May 03 15:45:39 2015 -0600
@@ -679,13 +679,13 @@
 	private static String SECURITY_KEY = "Io.Security";
 
 	private static void check(LuanState luan,String name) throws LuanException {
-		Security s = (Security)luan.registry().rawGet(SECURITY_KEY);
+		Security s = (Security)luan.registry().get(SECURITY_KEY);
 		if( s!=null )
 			s.check(luan,name);
 	}
 
 	public static void setSecurity(LuanState luan,Security s) {
-		luan.registry().rawPut(SECURITY_KEY,s);
+		luan.registry().put(SECURITY_KEY,s);
 	}
 
 	private void IoLuan() {}  // never