File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
client-v2/src/test/java/com/clickhouse/client/query Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,11 @@ public void testQueryAll() throws Exception {
236236 for (String colDefinition : DATASET_COLUMNS ) {
237237 // result values
238238 String colName = colDefinition .split (" " )[0 ];
239- List <Object > colValues = records .stream ().map (r -> r .getObject (colName )).toList ();
239+ List <Object > colValues = records .stream ().map (r -> r .getObject (colName )).collect ( Collectors . toList () );
240240 Assert .assertEquals (colValues .size (), dataset .size ());
241241
242242 // dataset values
243- List <Object > dataValue = dataset .stream ().map (d -> d .get (colName )).toList ();
243+ List <Object > dataValue = dataset .stream ().map (d -> d .get (colName )).collect ( Collectors . toList () );
244244 Assert .assertEquals (colValues , dataValue , "Failed for column " + colName );
245245 }
246246 }
You can’t perform that action at this time.
0 commit comments