Mike Matrigali wrote:
Ok, this answers a previous question I had posted. Store currently uses
the following to get new "empty" instances of classes which will
subsequently be initiated by calls to readExternal():
dvd = dvd.getClass().newInstance()
It sounds like this should be replaced by:
dvd = dvd.getNewNull()
I thought there might be some waisted state setting done by getNewNull()
that might be saved by creating a new interface like dvd.getNewEmpty().
A newly created DVD is in the null state so it's the same amount of work.
Dan.