Mercurial Hosting > luan
diff lucene/src/luan/modules/lucene/LuceneSearcher.java @ 427:dae264ad6a7b
fix LuanTable.put() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 19:29:07 -0600 |
parents | 23b99a5039b5 |
children | 5d4a78c93383 |
line wrap: on
line diff
--- a/lucene/src/luan/modules/lucene/LuceneSearcher.java Fri May 01 18:44:20 2015 -0600 +++ b/lucene/src/luan/modules/lucene/LuceneSearcher.java Fri May 01 19:29:07 2015 -0600 @@ -137,7 +137,7 @@ } private void add(LuanTable t,String method,Class<?>... parameterTypes) throws NoSuchMethodException { - t.put( method, new LuanJavaFunction(LuceneSearcher.class.getMethod(method,parameterTypes),this) ); + t.rawPut( method, new LuanJavaFunction(LuceneSearcher.class.getMethod(method,parameterTypes),this) ); } LuanTable table() {