Mercurial Hosting > luan
comparison core/src/luan/modules/TableLuan.java @ 415:ce8e19567911
make LuanPropertyMeta a singleton
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 30 Apr 2015 06:04:17 -0600 |
parents | 23b99a5039b5 |
children | 0a2fb80907f9 |
comparison
equal
deleted
inserted
replaced
414:d2ab2240cc65 | 415:ce8e19567911 |
---|---|
114 public static LuanTable clone(LuanTable tbl) { | 114 public static LuanTable clone(LuanTable tbl) { |
115 return tbl.cloneTable(); | 115 return tbl.cloneTable(); |
116 } | 116 } |
117 | 117 |
118 public static LuanTable new_property_table() { | 118 public static LuanTable new_property_table() { |
119 return LuanPropertyMeta.newInstance().newTable(); | 119 return LuanPropertyMeta.INSTANCE.newTable(); |
120 } | 120 } |
121 } | 121 } |