MYFACES-3645 review/refactor/document ViewState handling (step 3 and final for now, remove ProjectStage condition and use only one SerializedViewKey in each strategy used (counter --> IntIntSerializedViewKey, random --> IntByteArraySerializedViewKey). In this way, we can avoid different behaviors in development stage and production stage and with the custom SerializedViewKey, we can ensure the minimal possible size of the key in session (each reference counts as an unused slot), viewId hashCode is used and if no viewId, 0 is returned )
3 files changed