accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2160) Run findbugs for 1.6
Date Thu, 09 Jan 2014 00:54:50 GMT


Eric Newton commented on ACCUMULO-2160:

Oh, I probably shouldn't have inlined abs in the examples.  It's too confusing.  Random.nextLong()
can return Long.MIN_VALUE.  Math.abs(Long.MIN_VALUE) == Long.MIN_VALUE, which is still negative.
 I should at least make the function return Long.MAX_VALUE or zero or something. 

I have tried to get the formatter to work for me, but for some reason it doesn't.  I'll spend
some time on that.

Unfortunately, there's no immutable array type.  findbugs was not happy about keeping or returning
refs to mutable arrays.  PasswordToken is still Destroyable, but it may have leaked the password,
but that was already possible.

> Run findbugs for 1.6
> --------------------
>                 Key: ACCUMULO-2160
>                 URL:
>             Project: Accumulo
>          Issue Type: Task
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>             Fix For: 1.6.0

This message was sent by Atlassian JIRA

View raw message