flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [5/5] flink git commit: [FLINK-3815] Replace Guava Preconditions usage in flink-clients
Date Wed, 27 Apr 2016 09:25:18 GMT
[FLINK-3815] Replace Guava Preconditions usage in flink-clients

This closes #1933


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

Branch: refs/heads/master
Commit: 445d5e3e6084dd302a6c923d04b87c4ad5273da4
Parents: eed6f0f
Author: zentol <chesnay@apache.org>
Authored: Tue Apr 26 12:59:31 2016 +0200
Committer: zentol <chesnay@apache.org>
Committed: Wed Apr 27 11:24:40 2016 +0200

----------------------------------------------------------------------
 flink-clients/pom.xml                                          | 6 ------
 .../src/main/java/org/apache/flink/client/program/Client.java  | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/445d5e3e/flink-clients/pom.xml
----------------------------------------------------------------------
diff --git a/flink-clients/pom.xml b/flink-clients/pom.xml
index d146dee..5643f25 100644
--- a/flink-clients/pom.xml
+++ b/flink-clients/pom.xml
@@ -69,12 +69,6 @@ under the License.
 		</dependency>
 
 		<dependency>
-			<groupId>com.google.guava</groupId>
-			<artifactId>guava</artifactId>
-			<version>${guava.version}</version>
-		</dependency>
-
-		<dependency>
 			<groupId>commons-cli</groupId>
 			<artifactId>commons-cli</artifactId>
 		</dependency>

http://git-wip-us.apache.org/repos/asf/flink/blob/445d5e3e/flink-clients/src/main/java/org/apache/flink/client/program/Client.java
----------------------------------------------------------------------
diff --git a/flink-clients/src/main/java/org/apache/flink/client/program/Client.java b/flink-clients/src/main/java/org/apache/flink/client/program/Client.java
index 3044088..dcf542a 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/program/Client.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/program/Client.java
@@ -25,7 +25,6 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
-import com.google.common.base.Preconditions;
 import org.apache.flink.api.common.JobID;
 import org.apache.flink.api.common.JobSubmissionResult;
 import org.apache.flink.api.common.accumulators.AccumulatorHelper;
@@ -53,6 +52,7 @@ import org.apache.flink.runtime.messages.accumulators.AccumulatorResultsFound;
 import org.apache.flink.runtime.messages.accumulators.RequestAccumulatorResults;
 import org.apache.flink.runtime.messages.JobManagerMessages;
 import org.apache.flink.runtime.util.LeaderRetrievalUtils;
+import org.apache.flink.util.Preconditions;
 import org.apache.flink.util.SerializedValue;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;


Mime
View raw message