User: ara_e_w 
  Date: 02/05/31 13:43:56

  Modified:    modules/xdoclet/src/xdoclet/modules/doc
                        DocumentTagsSubTask.java
  Log:
  @msg:bundle refactoring
  
  Revision  Changes    Path
  1.5       +6 -12     
xdoclet/modules/xdoclet/src/xdoclet/modules/doc/DocumentTagsSubTask.java
  
  Index: DocumentTagsSubTask.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/modules/xdoclet/src/xdoclet/modules/doc/DocumentTagsSubTask.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -w -r1.4 -r1.5
  --- DocumentTagsSubTask.java  30 May 2002 18:39:07 -0000      1.4
  +++ DocumentTagsSubTask.java  31 May 2002 20:43:56 -0000      1.5
  @@ -5,7 +5,6 @@
   package xdoclet.modules.doc;
   
   import java.io.File;
  -import java.io.IOException;
   import java.text.MessageFormat;
   import java.util.*;
   
  @@ -13,7 +12,6 @@
   
   import xdoclet.TemplateSubTask;
   import xdoclet.XDocletException;
  -import xdoclet.loader.*;
   import xdoclet.template.TemplateEngine;
   import xdoclet.template.TemplateException;
   import xdoclet.template.TemplateTagHandler;
  @@ -27,7 +25,7 @@
    * @xdoclet:subtask   display-name="Tag documentation" name="documenttags"
    *      parent="xdoclet.modules.doc.DocumentDocletTask"
    * @todo              use DocletTask as parent instead. should be enough.
  - * @version           $Revision: 1.4 $
  + * @version           $Revision: 1.5 $
    */
   public class DocumentTagsSubTask extends TemplateSubTask
   {
  @@ -57,10 +55,6 @@
   
       private String  currentNamespace;
   
  -    private ArrayList namespaces = new ArrayList();
  -
  -    private Properties tagMappings = new Properties();
  -
       /**
        * Gets the CurrentNamespace attribute of the DocumentTagsSubTask object
        *
  @@ -83,29 +77,29 @@
           setDestinationFile(GENERATED_INDEX_FILE_NAME);
           startProcess();
   
  -        
System.out.println(Translator.getString("xdoclet.modules.doc.resources.Messages", 
"generating_namespaces"));
  +        System.out.println(Translator.getString(XDocletModulesDocMessages.class, 
XDocletModulesDocMessages.GENERATING_NAMESPACES));
           setTemplateURL(getClass().getResource(NAMESPACES_TEMPLATE_FILE));
           setDestinationFile(GENERATED_NAMESPACES_FILE_NAME);
           startProcess();
   
  -        
System.out.println(Translator.getString("xdoclet.modules.doc.resources.Messages", 
"generating_tags_main"));
  +        System.out.println(Translator.getString(XDocletModulesDocMessages.class, 
XDocletModulesDocMessages.GENERATING_TAGS_MAIN));
           setTemplateURL(getClass().getResource(TAGS_MAIN_TEMPLATE_FILE));
           setDestinationFile(GENERATED_TAGS_MAIN_FILE_NAME);
           startProcess();
   
  -        
System.out.println(Translator.getString("xdoclet.modules.doc.resources.Messages", 
"generating_tags_toc_main"));
  +        System.out.println(Translator.getString(XDocletModulesDocMessages.class, 
XDocletModulesDocMessages.GENERATING_TAGS_TOC_MAIN));
           setTemplateURL(getClass().getResource(TAGS_TOC_MAIN_TEMPLATE_FILE));
           setDestinationFile(GENERATED_TAGS_TOC_MAIN_FILE_NAME);
           startProcess();
   
  -        
System.out.println(Translator.getString("xdoclet.modules.doc.resources.Messages", 
"generating_tags_main"));
  +        System.out.println(Translator.getString(XDocletModulesDocMessages.class, 
XDocletModulesDocMessages.GENERATING_TAGS_MAIN));
           setTemplateURL(getClass().getResource(TAGS_TOC_TEMPLATE_FILE));
           setDestinationFile(GENERATED_TAGS_TOC_FILE_NAME);
           addOfType("xdoclet.XDocletTagSupport");
           //setExtentValue( "superclass" );
           startProcess();
   
  -        
System.out.println(Translator.getString("xdoclet.modules.doc.resources.Messages", 
"generating_tags_main"));
  +        System.out.println(Translator.getString(XDocletModulesDocMessages.class, 
XDocletModulesDocMessages.GENERATING_TAGS_MAIN));
           setTemplateURL(getClass().getResource(TAGS_TEMPLATE_FILE));
           setDestinationFile(GENERATED_TAGS_FILE_NAME);
           addOfType("xdoclet.XDocletTagSupport");
  
  
  

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to