accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2728) [FindBugs] Bad random number generation in VolumeUtil
Date Wed, 23 Apr 2014 22:22:17 GMT

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

ASF subversion and git services commented on ACCUMULO-2728:
-----------------------------------------------------------

Commit 0d10bda874240ddc8ead68d850b46e4f48566634 in accumulo's branch refs/heads/1.6.0-SNAPSHOT
from [~ctubbsii]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=0d10bda ]

ACCUMULO-2728 Ensure rand int is positive for VolumeUtil


> [FindBugs] Bad random number generation in VolumeUtil
> -----------------------------------------------------
>
>                 Key: ACCUMULO-2728
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2728
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>            Priority: Minor
>              Labels: findbugs
>             Fix For: 1.6.0
>
>
> This is a rank 7 findbugs warning. Math.abs(rand.nextInt()) doesn't always produce a
non-negative number.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message