rh-id opened a new pull request, #598:
URL: https://github.com/apache/poi/pull/598

   If we look at [javadoc 
](https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/geom/AffineTransform.html#createTransformedShape(java.awt.Shape))
   
   `AffineTransform.createTransformedShape(pSrc)` return `a new Shape object 
that defines the geometry of the transformed Shape, or null if pSrc is null.`
   
   So this PR restructure the `AffineTransform.createTransformedShape` so that 
it checks the source whether it is null first instead of calling the method and 
check the return Shape value.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to