Skip to content

Commit

Permalink
[FLINK-3677] Remove Guava dependency from flink-core
Browse files Browse the repository at this point in the history
  • Loading branch information
mushketyk authored and mxm committed Aug 29, 2016
1 parent 3505316 commit 7a539c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions flink-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,6 @@ under the License.
<artifactId>joda-convert</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

package org.apache.flink.api.common.io;

import com.google.common.collect.Lists;
import org.apache.flink.api.common.io.FileInputFormat.FileBaseStatistics;
import org.apache.flink.api.common.io.statistics.BaseStatistics;
import org.apache.flink.configuration.Configuration;
Expand All @@ -38,6 +37,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.net.URI;
import java.util.Arrays;
import java.util.Collections;

import static org.junit.Assert.*;
Expand Down Expand Up @@ -359,7 +359,7 @@ public void testReadMultiplePatterns() {
format.configure(configuration);
format.setFilesFilter(new GlobFilePathFilter(
Collections.singletonList("**"),
Lists.newArrayList("**/another_file.bin", "**/dataFile1.txt")
Arrays.asList(new String[] {"**/another_file.bin", "**/dataFile1.txt"})
));
FileInputSplit[] splits = format.createInputSplits(1);

Expand Down

0 comments on commit 7a539c0

Please sign in to comment.