HtmlTableWriter make inconsistent use of TableModel within methods
------------------------------------------------------------------

                 Key: DISPL-457
                 URL: http://jira.codehaus.org/browse/DISPL-457
             Project: DisplayTag
          Issue Type: Improvement
    Affects Versions: 1.1, 1.1.1
            Reporter: Mike Calmus
             Fix For: 1.1.1
         Attachments: HtmlTableWriter.patch

HtmlTableWriter takes a TableModel in its constructor that gets written to a 
class private variable. Several methods (writeTopBanner, writerTableOpener, 
etc.) take a TableModel argument. The writeTableHeader method is one such 
method. However, rather than using the TableModel parameter passed in, it 
instead uses the class TableModel object set from the constructor. This is (at 
best) confusing and could lead to inconsistent and unpredictable results.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to