From: Lukas P. <pe...@us...> - 2002-08-31 08:37:44
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data In directory usw-pr-cvs1:/tmp/cvs-serv2083 Modified Files: AllocTraceData.java CPUTraceData.java MonTraceData.java Log Message: fixed getMethod() Index: AllocTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/AllocTraceData.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -r1.23 -r1.24 *** AllocTraceData.java 24 Jul 2002 22:29:21 -0000 1.23 --- AllocTraceData.java 31 Aug 2002 08:37:39 -0000 1.24 *************** *** 110,119 **** /** ! * Returns allocation data for this method. * * @return allocation data for this method. */ public MethodRef getMethod() { ! return ((FrameData) frames.get(0)).getMethod(); } --- 110,119 ---- /** ! * Returns the last called method of this trace. * * @return allocation data for this method. */ public MethodRef getMethod() { ! return ((FrameRef) frames.get(frames.size()-1)).getMethod(); } *************** *** 249,252 **** --- 249,255 ---- /* * $Log$ + * Revision 1.24 2002/08/31 08:37:39 petrul + * fixed getMethod() + * * Revision 1.23 2002/07/24 22:29:21 vachis * implements new interfaces for getting roots and info Index: CPUTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/CPUTraceData.java,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** CPUTraceData.java 24 Jul 2002 22:29:22 -0000 1.17 --- CPUTraceData.java 31 Aug 2002 08:37:39 -0000 1.18 *************** *** 97,106 **** /** ! * Returns profiling data for this method. * * @return profiling data for this method. */ public MethodRef getMethod() { ! return ((FrameData) frames.get(0)).getMethod(); } --- 97,106 ---- /** ! * Returns the last called method of this trace. * * @return profiling data for this method. */ public MethodRef getMethod() { ! return ((FrameRef) frames.get(frames.size()-1)).getMethod(); } *************** *** 207,210 **** --- 207,213 ---- /* * $Log$ + * Revision 1.18 2002/08/31 08:37:39 petrul + * fixed getMethod() + * * Revision 1.17 2002/07/24 22:29:22 vachis * implements new interfaces for getting roots and info Index: MonTraceData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/MonTraceData.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** MonTraceData.java 24 Jul 2002 22:29:22 -0000 1.15 --- MonTraceData.java 31 Aug 2002 08:37:39 -0000 1.16 *************** *** 97,106 **** /** ! * Returns profiling data for this method. * * @return profiling data for this method. */ public MethodRef getMethod() { ! return ((FrameData) frames.get(0)).getMethod(); } --- 97,106 ---- /** ! * Returns the last called method of this trace. * * @return profiling data for this method. */ public MethodRef getMethod() { ! return ((FrameRef) frames.get(frames.size()-1)).getMethod(); } *************** *** 209,212 **** --- 209,215 ---- /* * $Log$ + * Revision 1.16 2002/08/31 08:37:39 petrul + * fixed getMethod() + * * Revision 1.15 2002/07/24 22:29:22 vachis * implements new interfaces for getting roots and info |