Update of /cvsroot/xdoclet/xjavadoc/src/xjavadoc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17139/src/xjavadoc
Modified Files: DefaultXTag.java Log Message: Fix NPEs being thrown by XDoc unit tests. Index: DefaultXTag.java =================================================================== RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/DefaultXTag.java,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -r1.28 -r1.29 *** DefaultXTag.java 10 Jun 2003 13:25:53 -0000 1.28 --- DefaultXTag.java 7 Oct 2004 22:20:52 -0000 1.29 *************** *** 290,298 **** // hack and the tests should be fixed. XProgramElement owner = doc.getOwner(); - _xJavaDoc = owner.getXJavaDoc(); - _value = _xJavaDoc.dereferenceProperties( value ); if( owner != null ) { SourceClass sourceClass; --- 290,299 ---- // hack and the tests should be fixed. XProgramElement owner = doc.getOwner(); if( owner != null ) { + _xJavaDoc = owner.getXJavaDoc(); + _value = _xJavaDoc.dereferenceProperties( value ); + SourceClass sourceClass; ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel