mirror of
https://github.com/maxkratz/fastutil.git
synced 2024-09-16 11:58:09 +00:00
Removed excessive init in HeapIndirectPriorityQueue constructor
This commit is contained in:
parent
b813824933
commit
3d62851c70
1 changed files with 0 additions and 3 deletions
|
@ -51,9 +51,6 @@ public class HEAP_INDIRECT_PRIORITY_QUEUE KEY_GENERIC extends HEAP_SEMI_INDIRECT
|
|||
*/
|
||||
public HEAP_INDIRECT_PRIORITY_QUEUE(KEY_GENERIC_TYPE[] refArray, int capacity, KEY_COMPARATOR KEY_SUPER_GENERIC c) {
|
||||
super(refArray, capacity, c);
|
||||
if (capacity > 0) this.heap = new int[capacity];
|
||||
|
||||
this.c = c;
|
||||
|
||||
this.inv = new int[refArray.length];
|
||||
Arrays.fill(inv, -1);
|
||||
|
|
Loading…
Reference in a new issue