I just committed this - why didn't it work before? Trying again...

This commit is contained in:
Eric Banks 2013-01-06 12:44:13 -05:00
parent 52067f0549
commit ea21dc9cfb
1 changed files with 2 additions and 2 deletions

View File

@ -817,12 +817,12 @@ public class RecalUtils {
if ( ! table.put(createDatumObject(qual, isError), keys) ) {
// Failed to put a new item because another thread came along and put an item here first.
// Get the newly-put item and increment it (item is guaranteed to exist at this point)
table.get(keys).increment(1.0, isError);
table.get(keys).increment(1L, isError);
}
}
else {
// Easy case: already an item here, so increment it
existingDatum.increment(1.0, isError);
existingDatum.increment(1L, isError);
}
}