提交 348d5016 编写于 作者: Z zentol 提交者: Fabian Hueske

Remove deprecation warning suppressions

上级 d353ef49
...@@ -54,7 +54,7 @@ import java.util.Map.Entry; ...@@ -54,7 +54,7 @@ import java.util.Map.Entry;
import org.apache.flink.api.common.typeutils.GenericPairComparator; import org.apache.flink.api.common.typeutils.GenericPairComparator;
import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.api.java.tuple.Tuple2;
@SuppressWarnings({"serial", "deprecation"}) @SuppressWarnings({"serial"})
public class NonReusingHashJoinIteratorITCase { public class NonReusingHashJoinIteratorITCase {
private static final int MEMORY_SIZE = 16000000; // total memory private static final int MEMORY_SIZE = 16000000; // total memory
......
...@@ -64,7 +64,6 @@ import static org.junit.Assert.fail; ...@@ -64,7 +64,6 @@ import static org.junit.Assert.fail;
* Test specialized hash join that keeps the build side data (in memory and on hard disk) * Test specialized hash join that keeps the build side data (in memory and on hard disk)
* This is used for iterative tasks. * This is used for iterative tasks.
*/ */
@SuppressWarnings("deprecation")
public class NonReusingReOpenableHashTableITCase { public class NonReusingReOpenableHashTableITCase {
private static final int PAGE_SIZE = 8 * 1024; private static final int PAGE_SIZE = 8 * 1024;
......
...@@ -62,7 +62,7 @@ import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIterator ...@@ -62,7 +62,7 @@ import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIterator
import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIteratorITCase.collectTupleData; import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIteratorITCase.collectTupleData;
import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIteratorITCase.collectIntPairData; import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIteratorITCase.collectIntPairData;
@SuppressWarnings({"serial", "deprecation"}) @SuppressWarnings({"serial"})
public class ReusingHashJoinIteratorITCase { public class ReusingHashJoinIteratorITCase {
private static final int MEMORY_SIZE = 16000000; // total memory private static final int MEMORY_SIZE = 16000000; // total memory
......
...@@ -66,7 +66,6 @@ import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIterator ...@@ -66,7 +66,6 @@ import static org.apache.flink.runtime.operators.hash.NonReusingHashJoinIterator
* Test specialized hash join that keeps the build side data (in memory and on hard disk) * Test specialized hash join that keeps the build side data (in memory and on hard disk)
* This is used for iterative tasks. * This is used for iterative tasks.
*/ */
@SuppressWarnings("deprecation")
public class ReusingReOpenableHashTableITCase { public class ReusingReOpenableHashTableITCase {
private static final int PAGE_SIZE = 8 * 1024; private static final int PAGE_SIZE = 8 * 1024;
......
...@@ -39,7 +39,6 @@ import org.junit.runner.RunWith; ...@@ -39,7 +39,6 @@ import org.junit.runner.RunWith;
import org.junit.runners.Parameterized; import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters; import org.junit.runners.Parameterized.Parameters;
@SuppressWarnings("deprecation")
@RunWith(Parameterized.class) @RunWith(Parameterized.class)
public class ConnectedComponentsWithDeferredUpdateITCase extends JavaProgramTestBase { public class ConnectedComponentsWithDeferredUpdateITCase extends JavaProgramTestBase {
......
...@@ -37,7 +37,6 @@ import org.apache.flink.util.Collector; ...@@ -37,7 +37,6 @@ import org.apache.flink.util.Collector;
/** /**
* Tests a bug that prevented that the solution set can be on both sides of the match/cogroup function. * Tests a bug that prevented that the solution set can be on both sides of the match/cogroup function.
*/ */
@SuppressWarnings("deprecation")
public class ConnectedComponentsWithSolutionSetFirstITCase extends JavaProgramTestBase { public class ConnectedComponentsWithSolutionSetFirstITCase extends JavaProgramTestBase {
private static final long SEED = 0xBADC0FFEEBEEFL; private static final long SEED = 0xBADC0FFEEBEEFL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册