flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [6/7] flink git commit: [tests] Minor warning cleanups
Date Wed, 27 May 2015 15:01:24 GMT
[tests] Minor warning cleanups


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/96bbdbd7
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/96bbdbd7
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/96bbdbd7

Branch: refs/heads/master
Commit: 96bbdbd70cfe55c4741ce7513cdb051883ef6f48
Parents: 3061eb1
Author: Stephan Ewen <sewen@apache.org>
Authored: Wed May 27 12:44:56 2015 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Wed May 27 16:36:02 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/flink/api/common/ExecutionConfigTest.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/96bbdbd7/flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
----------------------------------------------------------------------
diff --git a/flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
b/flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
index ad3ad91..39b3b71 100644
--- a/flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
+++ b/flink-core/src/test/java/org/apache/flink/api/common/ExecutionConfigTest.java
@@ -18,19 +18,20 @@
 
 package org.apache.flink.api.common;
 
-import org.junit.Test;
 import static org.junit.Assert.*;
 
 import java.util.Arrays;
 import java.util.List;
 
+import org.junit.Test;
+
 public class ExecutionConfigTest {
 
 	@Test
 	public void testDoubleTypeRegistration() {
 		ExecutionConfig config = new ExecutionConfig();
-		List<Class<?>> types = Arrays.asList((Class<?>)Double.class, Integer.class,
Double.class);
-		List<Class<?>> expectedTypes = Arrays.asList((Class<?>)Double.class,
Integer.class);
+		List<Class<?>> types = Arrays.<Class<?>>asList(Double.class, Integer.class,
Double.class);
+		List<Class<?>> expectedTypes = Arrays.<Class<?>>asList(Double.class,
Integer.class);
 
 		for(Class<?> tpe: types) {
 			config.registerKryoType(tpe);


Mime
View raw message