flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject [1/2] flink git commit: [FLINK-2262][utils] rename method for default integer value in ParameterTool
Date Wed, 24 Jun 2015 07:51:26 GMT
Repository: flink
Updated Branches:
  refs/heads/release-0.9 61f17f825 -> b5702c2bf


[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/9f0da5b3
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/9f0da5b3
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/9f0da5b3

Branch: refs/heads/release-0.9
Commit: 9f0da5b30cd3321d4973d53407f597943b55beae
Parents: 61f17f8
Author: Maximilian Michels <mxm@apache.org>
Authored: Tue Jun 23 15:45:37 2015 +0200
Committer: Maximilian Michels <mxm@apache.org>
Committed: Wed Jun 24 09:50:44 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/9f0da5b3/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