Mercurial Hosting > luan
diff lucene/src/luan/modules/lucene/LuceneDocument.java @ 411:23b99a5039b5
remove Luan.newTable()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 29 Apr 2015 16:05:02 -0600 |
parents | ef39bc4d3f70 |
children | dae264ad6a7b |
line wrap: on
line diff
--- a/lucene/src/luan/modules/lucene/LuceneDocument.java Wed Apr 29 15:38:15 2015 -0600 +++ b/lucene/src/luan/modules/lucene/LuceneDocument.java Wed Apr 29 16:05:02 2015 -0600 @@ -84,7 +84,7 @@ static LuanTable toTable(LuanState luan,Document doc,Map<String,String> nameMap) throws LuanException { if( doc==null ) return null; - LuanTable table = Luan.newTable(); + LuanTable table = new LuanTable(); for( IndexableField ifld : doc ) { String name = ifld.name(); String newName = nameMap.get(name);