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.

Reply via email to