From: Clebert S. <csu...@jb...> - 2006-04-24 23:49:44
|
User: csuconic Date: 06/04/24 19:49:40 Modified: src-jdk15/org/jboss/serial/persister EnumerationPersister.java Log: JBSER-60 - Improvements on sizing of streamed objects Revision Changes Path 1.2 +2 -1 jboss-serialization/src-jdk15/org/jboss/serial/persister/EnumerationPersister.java (In the diff below, changes in quantity of whitespace are not shown.) Index: EnumerationPersister.java =================================================================== RCS file: /cvsroot/jboss/jboss-serialization/src-jdk15/org/jboss/serial/persister/EnumerationPersister.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -b -r1.1 -r1.2 --- EnumerationPersister.java 18 Apr 2006 19:26:30 -0000 1.1 +++ EnumerationPersister.java 24 Apr 2006 23:49:40 -0000 1.2 @@ -28,6 +28,7 @@ import org.jboss.serial.classmetamodel.ClassMetaData; import org.jboss.serial.classmetamodel.ClassMetamodelFactory; +import org.jboss.serial.classmetamodel.StreamingClass; import org.jboss.serial.objectmetamodel.ObjectSubstitutionInterface; import org.jboss.serial.objectmetamodel.ObjectsCache; @@ -68,7 +69,7 @@ /** @todo is it needed to get another metadata here. * need to verify*/ - public Object readData (ClassLoader loader, ClassMetaData nonUsedmetaData, int referenceId, ObjectsCache cache, ObjectInput input, ObjectSubstitutionInterface substitution) throws IOException + public Object readData (ClassLoader loader, StreamingClass streaming, ClassMetaData nonUsedmetaData, int referenceId, ObjectsCache cache, ObjectInput input, ObjectSubstitutionInterface substitution) throws IOException { String instanceName = null; Class enumClass = null; |