Return-Path: X-Original-To: apmail-flink-commits-archive@minotaur.apache.org Delivered-To: apmail-flink-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB36418D01 for ; Wed, 27 May 2015 15:01:19 +0000 (UTC) Received: (qmail 64804 invoked by uid 500); 27 May 2015 15:01:19 -0000 Delivered-To: apmail-flink-commits-archive@flink.apache.org Received: (qmail 64747 invoked by uid 500); 27 May 2015 15:01:19 -0000 Mailing-List: contact commits-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list commits@flink.apache.org Received: (qmail 64594 invoked by uid 99); 27 May 2015 15:01:19 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 15:01:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A0C15E050C; Wed, 27 May 2015 15:01:19 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sewen@apache.org To: commits@flink.apache.org Date: Wed, 27 May 2015 15:01:24 -0000 Message-Id: <9818521fb4de494ba57df50c32a164f0@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [6/7] flink git commit: [tests] Minor warning cleanups [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 Authored: Wed May 27 12:44:56 2015 +0200 Committer: Stephan Ewen 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> types = Arrays.asList((Class)Double.class, Integer.class, Double.class); - List> expectedTypes = Arrays.asList((Class)Double.class, Integer.class); + List> types = Arrays.>asList(Double.class, Integer.class, Double.class); + List> expectedTypes = Arrays.>asList(Double.class, Integer.class); for(Class tpe: types) { config.registerKryoType(tpe);