flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject flink git commit: [FLINK-2262][utils] rename method for default integer value in ParameterTool
Date Tue, 23 Jun 2015 13:48:52 GMT
Repository: flink
Updated Branches:
  refs/heads/master bacf447d3 -> 4fff43ae3


[FLINK-2262][utils] rename method for default integer value in ParameterTool


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

Branch: refs/heads/master
Commit: 4fff43ae3bded548a543a93094c69a83b394fada
Parents: bacf447
Author: Maximilian Michels <mxm@apache.org>
Authored: Tue Jun 23 15:45:37 2015 +0200
Committer: Maximilian Michels <mxm@apache.org>
Committed: Tue Jun 23 15:48:38 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/flink/api/java/utils/ParameterTool.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/4fff43ae/flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
----------------------------------------------------------------------
diff --git a/flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java b/flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
index e7e5195..2afdff2 100644
--- a/flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
+++ b/flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java
@@ -197,7 +197,7 @@ public class ParameterTool extends ExecutionConfig.GlobalJobParameters
implement
 		return Integer.valueOf(value);
 	}
 
-	public int getLong(String key, int defaultValue) {
+	public int getInt(String key, int defaultValue) {
 		addToDefaults(key, Integer.toString(defaultValue));
 		String value = get(key);
 		if(value == null) {


Mime
View raw message