Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

Commit 51a6c7e

Browse files
Fix TreeMap initialization that causes compilation error
1 parent 6d83cf7 commit 51a6c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/visualization/datasource/query/engine/QueryEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static DataTable executeQuery(Query query, DataTable table, ULocale local
120120
// A map of column lookups by their list of pivot values. This is utilized in
121121
// the grouping and pivoting queries.
122122
TreeMap<List<Value>, ColumnLookup> columnLookups =
123-
Maps.newTreeMap(GroupingComparators.VALUE_LIST_COMPARATOR);
123+
new TreeMap<List<Value>, ColumnLookup>(GroupingComparators.VALUE_LIST_COMPARATOR);
124124
try {
125125
table = performFilter(table, query);
126126
table = performGroupingAndPivoting(table, query, columnIndices, columnLookups);

0 commit comments

Comments
 (0)