fix xstream not processing annotations during serialization of runs
was saving the sessionAttempts counter even though it had the XStreamOmitField annotation. not technically a problem, but not correct
This commit is contained in:
parent
8679a556ca
commit
5e774934a4
|
@ -421,6 +421,7 @@ final class Actions {
|
|||
try {
|
||||
XStream xml = new XStream( new DomDriver() );
|
||||
SerializationUtils.customize(xml);
|
||||
xml.autodetectAnnotations(true);
|
||||
out = new BufferedOutputStream( new FileOutputStream( file ) );
|
||||
xml.toXML( master.getRun(), out );
|
||||
} catch ( Exception ex ) {
|
||||
|
|
Reference in a new issue