Fix some Lint issues
This commit is contained in:
parent
bcf6a7f630
commit
de70dec44a
5 changed files with 6 additions and 1 deletions
|
|
@ -224,6 +224,7 @@ public class CompactLongMap<V> {
|
|||
|
||||
|
||||
// does sorted array "a" contain "id" ?
|
||||
@SuppressWarnings("unchecked")
|
||||
private boolean contains(int idx, long id, boolean doPut) {
|
||||
long[] a = al[idx];
|
||||
int offset = a.length;
|
||||
|
|
@ -243,6 +244,7 @@ public class CompactLongMap<V> {
|
|||
return false;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
protected void moveToFrozenArrays(long[] faid, List<V> flv) {
|
||||
for (int i = 1; i < MAXLISTS; i++) {
|
||||
pa[i] = 0;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ public final class SortedHeap<V> {
|
|||
/**
|
||||
* @return the lowest key value, or null if none
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public V popLowestKeyValue() {
|
||||
SortedBin bin = firstNonEmpty;
|
||||
if (firstNonEmpty == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue