Alas this hack will be needed for all time it seems.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@253 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -53,7 +53,11 @@ public class MaxIntStat extends IntStat
|
|||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
super.unpersistFrom(in, aux);
|
super.unpersistFrom(in, aux);
|
||||||
_maxValue = in.readInt();
|
try {
|
||||||
|
_maxValue = in.readInt();
|
||||||
|
} catch (EOFException eofe) {
|
||||||
|
// hack to deal with old style IntStat converted to MaxIntStat
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The largest value ever accumulated to this stat. */
|
/** The largest value ever accumulated to this stat. */
|
||||||
|
|||||||
Reference in New Issue
Block a user