|
From: Márcio V. d. S. <mv...@us...> - 2007-08-20 18:03:57
|
Update of /cvsroot/tail/Tail/src/java/net/sf/tail/report In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv32071/src/java/net/sf/tail/report Modified Files: ReportSerializer.java Report.java Log Message: terminado o reportSerializer e refatorado código Index: ReportSerializer.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/report/ReportSerializer.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReportSerializer.java 15 Aug 2007 22:07:52 -0000 1.2 --- ReportSerializer.java 20 Aug 2007 18:03:57 -0000 1.3 *************** *** 1,6 **** package net.sf.tail.report; - import net.sf.tail.sample.SampleTimeSeries; - import com.thoughtworks.xstream.XStream; import com.thoughtworks.xstream.io.xml.DomDriver; --- 1,4 ---- *************** *** 11,15 **** // ele apenas transforma, quem grava deve ser outra pessoa XStream xstream = new XStream(new DomDriver()); - xstream.omitField(SampleTimeSeries.class, "ticks"); xstream.setMode(XStream.ID_REFERENCES); return xstream.toXML(report); --- 9,12 ---- Index: Report.java =================================================================== RCS file: /cvsroot/tail/Tail/src/java/net/sf/tail/report/Report.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Report.java 8 Aug 2007 22:03:28 -0000 1.5 --- Report.java 20 Aug 2007 18:03:57 -0000 1.6 *************** *** 9,13 **** public class Report { ! private List<Decision> decisions; private TimeSeriesSlicer slicer; --- 9,13 ---- public class Report { ! private transient List<Decision> decisions; private TimeSeriesSlicer slicer; *************** *** 19,24 **** this.decisions = decisions; this.slicer = slicer; - - } --- 19,22 ---- |