Skip to content

Commit

Permalink
fix confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Oct 21, 2024
1 parent cd205b5 commit 993456f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ public boolean possiblyContainsNaN() {

@Override
protected long addValRecodeMap(Map<Object, Long> map, long id, int i) {
Long val = getLong(i);
Integer val = Integer.valueOf(getInt(i));
Long v = map.putIfAbsent(val, id);
if(v == null)
id++;
Expand All @@ -448,12 +448,12 @@ protected long addValRecodeMap(Map<Object, Long> map, long id, int i) {

@Override
public void setM(Map<Object, Long> map, AMapToData m, int i){
m.set(i, map.get(getInt(i)).intValue() - 1);
m.set(i, map.get(Integer.valueOf(getInt(i))).intValue() - 1);
}

@Override
public void setM(Map<Object, Long> map, int si, AMapToData m, int i) {
final Integer v = getInt(i);
final Integer v = Integer.valueOf(getInt(i));
m.set(i, map.get(v).intValue() - 1);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public boolean possiblyContainsNaN() {

@Override
protected long addValRecodeMap(Map<Object, Long> map, long id, int i) {
Integer val = getInt(i);
Long val = Long.valueOf(getLong(i));
Long v = map.putIfAbsent(val, id);
if(v == null)
id++;
Expand All @@ -446,12 +446,12 @@ protected long addValRecodeMap(Map<Object, Long> map, long id, int i) {

@Override
public void setM(Map<Object, Long> map, AMapToData m, int i){
m.set(i, map.get(getLong(i)).intValue() - 1);
m.set(i, map.get(Long.valueOf(getLong(i))).intValue() - 1);
}

@Override
public void setM(Map<Object, Long> map, int si, AMapToData m, int i) {
m.set(i, map.get(getLong(i)).intValue() - 1);
m.set(i, map.get(Long.valueOf(getLong(i))).intValue() - 1);
}

@Override
Expand Down

0 comments on commit 993456f

Please sign in to comment.