[
https://issues.apache.org/jira/browse/COLLECTIONS-749?focusedWorklogId=514419&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-514419
]
ASF GitHub Bot logged work on COLLECTIONS-749:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 20/Nov/20 02:38
Start Date: 20/Nov/20 02:38
Worklog Time Spent: 10m
Work Description: garydgregory commented on pull request #130:
URL:
https://github.com/apache/commons-collections/pull/130#issuecomment-730808070
This remaining change must have already been done by a different commit as
it is in git master.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 514419)
Remaining Estimate: 0h
Time Spent: 10m
> Better documentation needed for HashFunctionIdentity.Signedness
> ---------------------------------------------------------------
>
> Key: COLLECTIONS-749
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-749
> Project: Commons Collections
> Issue Type: Improvement
> Components: Collection
> Affects Versions: 4.5
> Reporter: Claude Warren
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> From Alex Herbert:
> HashFunctionIdentity.Signedness
>
> This is not fully documented as to what the sign applies to. There is no
> javadoc on the enum values for SIGNED and UNSIGNED. The current javadoc
> states "Identifies the signedness of the calculations for this function".
>
> I assume this applies to the Hash computation in 'long
> HashFunction.apply(byte[], int)'
>
> Does this mean the hash algorithm has a variant that can treat the
> bytes/seed as signed or unsigned. If so which one because 2 enum values
> cannot cover all 4 possibilities. Since there is no javadoc it is
> unclear exactly what this property is supposed to indicate.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)