Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1116#discussion_r39173419
  
    --- Diff: 
flink-java/src/main/java/org/apache/flink/api/java/utils/ParameterTool.java ---
    @@ -245,13 +310,20 @@ public long getLong(String key, long defaultValue) {
        }
     
        // -------------- FLOAT
    -
    +   /**
    +    * Returns the Float value for the given key.
    +    * The method fails if the key does not exist.
    +    */
        public float getFloat(String key) {
                addToDefaults(key, null);
                String value = getRequired(key);
                return Float.valueOf(value);
        }
     
    +   /**
    +    * Returns the Float value for the given key. If the key does not 
exists it will return the default value given.
    +    * The method fails if the value is not an Float.
    --- End diff --
    
    an float.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to