Skip to content

Commit

Permalink
fix for WICKET-1323
Browse files Browse the repository at this point in the history
deserializing should clear the cached item count

git-svn-id: https://svn.apache.org/repos/asf/wicket/trunk@618943 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Johan Compagner committed Feb 6, 2008
1 parent ad16795 commit a3cf4a0
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -394,4 +394,12 @@ protected void onDetach()
clearCachedItemCount();
super.onDetach();
}

private void readObject(java.io.ObjectInputStream s) throws java.io.IOException,
ClassNotFoundException
{
// Read in all fields
s.defaultReadObject();
clearCachedItemCount();
}
}

0 comments on commit a3cf4a0

Please sign in to comment.