Mercurial Hosting > luan
diff src/luan/LuanException.java @ 1561:e1a13e707bf3
start immutable
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 05 Nov 2020 20:24:09 -0700 |
parents | 221eedb0f54e |
children | b89212fd04b5 |
line wrap: on
line diff
--- a/src/luan/LuanException.java Thu Oct 22 00:33:04 2020 -0600 +++ b/src/luan/LuanException.java Thu Nov 05 20:24:09 2020 -0700 @@ -35,6 +35,11 @@ clone.extra = (Map)cloner.clone(extra); } + @Override public void makeImmutable(LuanImmutabler immutabler) throws LuanException { + immutabler.makeImmutable(table); + immutabler.makeImmutable(extra); + } + public void put(String key,Object value) throws LuanException { if( table == null ) { extra.put(key,value);