From: Pavel V. <va...@us...> - 2001-12-27 14:11:42
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data In directory usw-pr-cvs1:/tmp/cvs-serv19201 Modified Files: ThreadData.java Log Message: new setParent() method Index: ThreadData.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/data/ThreadData.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** ThreadData.java 2001/12/09 23:21:01 1.9 --- ThreadData.java 2001/12/27 14:11:39 1.10 *************** *** 129,132 **** --- 129,142 ---- return parent; } + + /** + * Sets parent for this thread. Use this, if you can't pass parent + * param to constructor. + * + * @param parent parent of this thread. + */ + void setParent( ThreadData parent ) { + this.parent = parent; + } /** *************** *** 185,189 **** //temporary fix if ( clazz.getClazz().getClassData() != null ) ! classes.put(new Integer(clazz.getClazz().getClassData().getID()), clazz); } --- 195,199 ---- //temporary fix if ( clazz.getClazz().getClassData() != null ) ! classes.put(new Integer(clazz.getClazz().getClassData().getID()), clazz); } *************** *** 290,293 **** --- 300,306 ---- /* * $Log$ + * Revision 1.10 2001/12/27 14:11:39 vachis + * new setParent() method + * * Revision 1.9 2001/12/09 23:21:01 vachis * temporary fix, classData may be null |