DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11028>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11028 [PATCH] HSSFColor to use instanciations rather than seperate classes Summary: [PATCH] HSSFColor to use instanciations rather than seperate classes Product: POI Version: 2.0-dev Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: HSSF AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Currently there are seperate classes for each color ie there is a HSSFColor.BLACK class. This patch removes the seperate classes and makes the HSSFColor contains instances of itself ie there is a HSSFColor.BLACK instance. I recently posted this patch on the mailing list. If this solution isnt desirable (it will break existing code that uses POI) then by all means reject this bug IMHO this solution is better than having numerous classes that perform exactly the same functionality. I think that when custom colors are supported the methods that currently return an index will instead return a HSSFColor. Maybe I will work on this next ... Jason -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
