Update of /cvsroot/xdoclet/xjavadoc/src/xjavadoc In directory sc8-pr-cvs1:/tmp/cvs-serv7160/xjavadoc/src/xjavadoc
Modified Files: SourceClass.java Log Message: Made CodeTestCase possible to use from a static context. Useful when the CodeTestCase is used without extending it. (needed by XDoclet2/Generama's tests). Index: SourceClass.java =================================================================== RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/SourceClass.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -r1.62 -r1.63 *** SourceClass.java 10 Jun 2003 13:25:54 -0000 1.62 --- SourceClass.java 20 Aug 2003 13:56:37 -0000 1.63 *************** *** 7,10 **** --- 7,11 ---- import xjavadoc.filesystem.AbstractFile; import xjavadoc.filesystem.XJavadocFile; + import xjavadoc.filesystem.ReaderFile; import java.util.*; *************** *** 82,85 **** --- 83,96 ---- { this( xJavaDoc, new XJavadocFile( sourceFile ), false, tagFactory ); + } + + /** + * Constructor to use for outer classes + * + * @param sourceFile The file containing the source + */ + public SourceClass( XJavaDoc xJavaDoc, Reader sourceFile, XTagFactory tagFactory ) + { + this( xJavaDoc, new ReaderFile( sourceFile ), false, tagFactory ); } ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel