User: rinkrank
Date: 02/03/16 10:22:13
Modified: core/src/xdoclet/doc Tag: XJAVADOC_REFACTORING
DocumentDocletTask.java DocumentTagsSubTask.java
Log:
xjavadoc refactoring. doesn't work yet, but it compiles
Revision Changes Path
No revision
No revision
1.9.4.1 +6 -6 xdoclet/core/src/xdoclet/doc/DocumentDocletTask.java
Index: DocumentDocletTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/doc/DocumentDocletTask.java,v
retrieving revision 1.9
retrieving revision 1.9.4.1
diff -u -w -r1.9 -r1.9.4.1
--- DocumentDocletTask.java 26 Oct 2001 21:45:24 -0000 1.9
+++ DocumentDocletTask.java 16 Mar 2002 18:22:13 -0000 1.9.4.1
@@ -3,12 +3,12 @@
import xdoclet.DocletTask;
import xdoclet.doc.info.InfoSubTask;
-import java.util.Vector;
+import java.util.ArrayList;
/**
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created June 19, 2001
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.9.4.1 $
*/
public class DocumentDocletTask extends DocletTask
{
@@ -27,12 +27,12 @@
return infotags;
}
- protected Vector getSubTasks()
+ protected ArrayList getSubTasks()
{
- Vector subtasks = super.getSubTasks();
+ ArrayList subtasks = super.getSubTasks();
- subtasks.addElement( this.documenttags );
- subtasks.addElement( this.infotags );
+ subtasks.add( this.documenttags );
+ subtasks.add( this.infotags );
return subtasks;
}
1.13.2.1 +5 -5 xdoclet/core/src/xdoclet/doc/DocumentTagsSubTask.java
Index: DocumentTagsSubTask.java
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/doc/DocumentTagsSubTask.java,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -w -r1.13 -r1.13.2.1
--- DocumentTagsSubTask.java 22 Feb 2002 16:28:22 -0000 1.13
+++ DocumentTagsSubTask.java 16 Mar 2002 18:22:13 -0000 1.13.2.1
@@ -12,7 +12,7 @@
import java.text.MessageFormat;
import java.util.*;
-import com.sun.javadoc.ClassDoc;
+import xjavadoc.XClass;
import org.apache.log4j.Category;
@@ -22,7 +22,7 @@
*
* @author Ara Abrahamian ([EMAIL PROTECTED])
* @created June 19, 2001
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.13.2.1 $
*/
public class DocumentTagsSubTask extends TemplateSubTask
{
@@ -112,7 +112,7 @@
startProcess();
}
- protected String getGeneratedFileName( ClassDoc clazz ) throws XDocletException
+ protected String getGeneratedFileName( XClass clazz ) throws XDocletException
{
String dest_file = MessageFormat.format( getDestinationFile(), new
Object[]{currentNamespace.getName()} );
@@ -125,7 +125,7 @@
* @param clazz Description of Parameter
* @exception XDocletException Description of Exception
*/
- protected void generateForClass( ClassDoc clazz ) throws XDocletException
+ protected void generateForClass( XClass clazz ) throws XDocletException
{
setCurrentNamespace( clazz );
@@ -136,7 +136,7 @@
{
}
- private void setCurrentNamespace( ClassDoc clazz ) throws XDocletException
+ private void setCurrentNamespace( XClass clazz ) throws XDocletException
{
for( int i = 0; i < namespaces.size(); i++ )
{
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel