The following issue has been updated:

    Updater: Chandrashekara K A (mailto:[EMAIL PROTECTED])
       Date: Mon, 31 Jan 2005 2:03 AM
    Changes:
             Attachment changed to patch.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-55?page=history

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-55

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-55
    Summary: Unnecessary "thorw" in validating mode
       Type: Improvement

     Status: Open
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Core
   Versions:
             1.1

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Chandrashekara K A

    Created: Mon, 31 Jan 2005 1:03 AM
    Updated: Mon, 31 Jan 2005 2:03 AM
Environment: All

Description:
XTagFactory.createTag method raises an exception when the tagClass is null for 
the current tag.

It does it at the end of the method.

One of the following will be an improvement

1/ Set the tagClass to "DefaultXTag.class" and do away with the code that 
raises the exception - as the rest of the code instantiates a DefaultXTag when 
tagClass is null.

2/ validate early and raise the exception before everything else


Teh attached patch implements 1.




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to