[ 
https://issues.apache.org/jira/browse/PDFBOX-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394635#comment-16394635
 ] 

ASF subversion and git services commented on PDFBOX-4134:
---------------------------------------------------------

Commit 1826458 from [~msahyoun] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1826458 ]

PDFBOX-4071, PDFBOX-4134: use Float.compare, use BigDecimal.valueOf

> Resolve floating point comparisons flagged by Sonar
> ---------------------------------------------------
>
>                 Key: PDFBOX-4134
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4134
>             Project: PDFBox
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>
> Sonar is flagging floating point comparisons which are done using comparison 
> operators. Using {{Float.compare}} this can be done in a standards way. In 
> addition some comparisons might be done using a distance between two values.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to