Andreas, Glad you installed Findbugs it is pretty amazing what it reports. There is another tool that only runs inside of Eclipse called PMD from IBM. It is available on sourceforge. It reports many of the same issues, but there are a few that it finds that Findbugs doesn't but they basically seem to overlap.
Thanks, Peter -----Original Message----- From: Andreas Lehmkühler [mailto:[email protected]] Sent: Wednesday, January 21, 2009 1:17 AM To: [email protected] Subject: Re: Not a bug, but definately incorrect code in PDPageContentStream Hi Peter, [email protected] schrieb: > There is some deceiving code in the setStrokingColor(float [] > components) method. > > It is actually only used for ColorSpace.TYPE_GRAY > > The result of the code is the impression that the other cases are > handled here when they are not. > ... I'm working on a patch to resolve this issue. > // I searched all the code for this method; this is the only one > reference to the method that I found. > > // that is why I believe that the method should be made private. > > // However; since it was public in the past, I can't guarantee that > someone does not call the method. > ... The method is perhaps not used within PDFBox but ii ist still needed. The class PDPageContentStream is some sort of an interface for people who wants to create the own pdf-documents with PDFBox. Andreas P.S.: First of all I installed findbugs yesterday.
