ConfiguredDocument: Cache the cloned and stripped layouts.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 4 May 2012 13:13:31 +0000 (15:13 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 4 May 2012 13:13:31 +0000 (15:13 +0200)
commit41f20d2aaca7abc0cf12210905d3ee92da8e10e4
treeb8662bfaa45c9ffd2a35d2847499f4ff4cbf0ad6
parent5aef8292dc8f8c4604404c4f2dd66e35474ef918
ConfiguredDocument: Cache the cloned and stripped layouts.

* src/main/java/org/glom/web/server/ConfiguredDocument.java:
getValidListViewLayoutGroup(), .getDetailsLayoutGroup(): Store the cloned
layout in a map, so we can retrieve it again without rebuilding it.
ChangeLog
src/main/java/org/glom/web/server/ConfiguredDocument.java