User: pathoss 
  Date: 02/05/12 05:31:00

  Modified:    core/src/xdoclet/tagshandler Tag: MODULE_REFACTORING_BRANCH
                        ClassTagsHandler.java
  Log:
  Minor refactorings.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +12 -12    xdoclet/core/src/xdoclet/tagshandler/Attic/ClassTagsHandler.java
  
  Index: ClassTagsHandler.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/tagshandler/Attic/ClassTagsHandler.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -w -r1.1.2.3 -r1.1.2.4
  --- ClassTagsHandler.java     12 May 2002 11:58:03 -0000      1.1.2.3
  +++ ClassTagsHandler.java     12 May 2002 12:31:00 -0000      1.1.2.4
  @@ -26,7 +26,7 @@
   /**
    * @author    Ara Abrahamian ([EMAIL PROTECTED])
    * @created   Oct 14, 2001
  - * @version   $Revision: 1.1.2.3 $
  + * @version   $Revision: 1.1.2.4 $
    */
   public class ClassTagsHandler extends AbstractProgramElementTagsHandler
   {
  @@ -176,7 +176,7 @@
       public void pushClass(String template, Properties attributes) throws 
XDocletException
       {
           String value = attributes.getProperty("value", null);
  -        XClass cur_class = null;
  +        XClass currentClass = null;
   
           if (value == null) {
               try {
  @@ -188,20 +188,20 @@
               }
           }
   
  -        cur_class = XJavaDoc.getInstance().getXClass(value);
  +        currentClass = XJavaDoc.getInstance().getXClass(value);
   
  -        if (cur_class == null) {
  +        if (currentClass == null) {
               throw new 
XDocletException(Translator.getString("javadoc_couldnt_load_class",
                   new String[]{value}));
           }
   
  -        XMethod old_method = getCurrentMethod();
  +        XMethod oldMethod = getCurrentMethod();
   
  -        pushCurrentClass(cur_class);
  +        pushCurrentClass(currentClass);
           setCurrentMethod(null);
           generate(template);
           popCurrentClass();
  -        setCurrentMethod(old_method);
  +        setCurrentMethod(oldMethod);
       }
   
       /**
  @@ -390,9 +390,9 @@
        */
       public void ifClassTagValueMatches(String template, Properties attributes) 
throws XDocletException
       {
  -        String wanted_tag_value = getTagValue(attributes, FOR_CLASS);
  +        String wantedTagValue = getTagValue(attributes, FOR_CLASS);
   
  -        if (wanted_tag_value.equals(matchPattern)) {
  +        if (wantedTagValue.equals(matchPattern)) {
               generate(template);
           }
       }
  @@ -626,9 +626,9 @@
        */
       public String classCommentText(Properties attributes) throws XDocletException
       {
  -        boolean no_comment_signs = 
TypeConversionUtil.stringToBoolean(attributes.getProperty("no-comment-signs"), false);
  +        boolean noCommentSigns = 
TypeConversionUtil.stringToBoolean(attributes.getProperty("no-comment-signs"), false);
   
  -        if (no_comment_signs) {
  +        if (noCommentSigns) {
               return getCurrentClass().doc().commentText();
           }
   
  
  
  

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to