Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
nextSequences.get( i ) -> nextSequences.get( i ).getSequenceKey()
SequenceManager.java
for (int i = 0; i < nextSequences.size(); i++) { sequencePosition[i] = sequenceMap.get(nextSequences.get(i)).getIndex(); }
It won't cause bug since the impl of SequenceAllocation#hashCode is equal with SequenceKey#hashCode. However, it still a potential bug so a fix is necessary I believe.
SequenceAllocation.java
@Override public int hashCode() { return sequenceKey.hashCode(); }