Skip to content

Commit

Permalink
fixed raw varargs
Browse files Browse the repository at this point in the history
  • Loading branch information
jruaux committed Feb 9, 2021
1 parent db7792e commit 5a5e1c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package com.redislabs.riot.file;

import io.lettuce.core.GeoArgs;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import java.time.Instant;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.sun.tools.javac.comp.Lower;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import io.lettuce.core.GeoArgs;

public class TestCsv extends AbstractFileTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ public Converter<Map<String, Object>, Map<String, String>> converter() {
if (includes.length == 0 && excludes.length == 0) {
return mapFlattener;
}
return new CompositeConverter(mapFlattener, MapFilteringConverter.<String, Object>builder().includes(includes).excludes(excludes).build());
MapFilteringConverter.MapFilteringConverterBuilder<String, Object> filtering = MapFilteringConverter.builder();
filtering.includes(includes);
filtering.excludes(excludes);
return new CompositeConverter(mapFlattener, filtering.build());
}


Expand Down

0 comments on commit 5a5e1c0

Please sign in to comment.