You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2003/06/25 17:59:02 UTC

DO NOT REPLY [Bug 21086] New: - false comparison of red, blue, green values in HSSFPalette

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=21086>.
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=21086

false comparison of red, blue, green values in HSSFPalette

           Summary: false comparison of red, blue, green values in
                    HSSFPalette
           Product: POI
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: tobias.haubner@immopac.ch


version: 1.10.0-dev 22/03/2003
class: org.apache.poi.hssf.usermodel.HSSFPalette
method: findColor() line 106

error: if (b[0] == red && b[1] == blue && b[2] == green)

fix: if (b[0] == red && b[1] == green && b[2] == blue)