Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1678#discussion_r157780318
--- Diff:
core/src/main/java/org/apache/carbondata/core/indexstore/BlockletDataMapIndexStore.java
---
@@ -134,9 +134,8 @@ public BlockletDataMap
get(TableBlockIndexUniqueIdentifier identifier)
@Override
public BlockletDataMap getIfPresent(
TableBlockIndexUniqueIdentifier tableSegmentUniqueIdentifier) {
- BlockletDataMap dataMap = (BlockletDataMap) lruCache
+ return (BlockletDataMap) lruCache
.get(tableSegmentUniqueIdentifier.getUniqueTableSegmentIdentifier());
--- End diff --
move .get to previous line
---