Skip to content

Commit

Permalink
Update TableDeviceLastCache.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caideyipi committed Oct 22, 2024
1 parent 2777f63 commit 0526e3d
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,8 @@ int initOrInvalidate(
(measurementKey, tvPair) -> {
if (Objects.isNull(newPair)) {
diff.addAndGet(
-(isTableModel
? 0
: (int) RamUsageEstimator.sizeOf(finalMeasurement)
+ getTVPairEntrySize(tvPair)));
-((isTableModel ? 0 : (int) RamUsageEstimator.sizeOf(finalMeasurement))
+ getTVPairEntrySize(tvPair)));
return null;
}
if (Objects.isNull(tvPair)) {
Expand Down

0 comments on commit 0526e3d

Please sign in to comment.