Details
Description
Tags are getting part of their context data via the factory (line-number), and part thru setContext(). This smells like a fish milkshake.
Let's remove setContext() from the DocletTag interface, and provide all location info via the factory.
public interface DocletTagFactory extends Serializable
{ DocletTag createDocletTag(String tag, String text); DocletTag createDocletTag(String tag, String text, AbstractJavaEntity context, int lineNumber); }See http://lists.codehaus.org/pipermail/qdox-user/2004-March/000549.html
Activity
Mike Williams
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
Mike Williams
made changes -
Remaining Estimate | 1 day [ 86400 ] | 0 minutes [ 0 ] |
Time Spent | 3 hours [ 10800 ] |
Done pretty much as planned.