diff web/src/luan/modules/web/HttpServicer.java @ 428:df95199ca4c0

rename __newindex to __new_index
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 02 May 2015 20:10:31 -0600
parents dae264ad6a7b
children c6bcb8859b93
line wrap: on
line diff
--- a/web/src/luan/modules/web/HttpServicer.java	Fri May 01 19:29:07 2015 -0600
+++ b/web/src/luan/modules/web/HttpServicer.java	Sat May 02 20:10:31 2015 -0600
@@ -288,7 +288,7 @@
 				return true;
 			}
 
-			@Override public void __newindex(LuanState luan,LuanTable tbl,Object key,Object val) {
+			@Override public void __new_index(LuanState luan,LuanTable tbl,Object key,Object val) {
 				if( !(key instanceof String) )
 					throw new IllegalArgumentException("key must be string for headers table");
 				String name = (String)key;
@@ -350,7 +350,7 @@
 				return true;
 			}
 
-			@Override public void __newindex(LuanState luan,LuanTable tbl,Object key,Object val) {
+			@Override public void __new_index(LuanState luan,LuanTable tbl,Object key,Object val) {
 				if( !(key instanceof String) )
 					throw new IllegalArgumentException("key must be string for session attributes table");
 				String name = (String)key;