Skip to content

Commit

Permalink
[hotfix] Fix checkstyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
sjwiesman committed Sep 14, 2020
1 parent 6f38c9b commit 2a1da16
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,8 @@ public B next() {
return mapper.apply(generator.next());
}

/**
* A simple serializable function.
*/
public interface SerializableFunction<A, B> extends Function<A, B>, Serializable {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@

package org.apache.flink.table.planner.runtime.stream.table;

import org.apache.flink.table.data.RowData;
import org.apache.flink.table.planner.runtime.utils.BatchTestBase;
import org.apache.flink.types.Row;
import org.apache.flink.util.CloseableIterator;

import org.junit.Assert;
import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

/**
* IT case for data generator source.
*/
public class DataGeneratorConnectorITCase extends BatchTestBase {

private static final String TABLE = "CREATE TABLE datagen_t (\n" +
Expand Down Expand Up @@ -67,6 +70,6 @@ public void testTypes() throws Exception {
}
}

Assert.assertEquals("Unexpected number of results",10, results.size());
Assert.assertEquals("Unexpected number of results", 10, results.size());
}
}

0 comments on commit 2a1da16

Please sign in to comment.