You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2016/01/22 22:32:39 UTC

[jira] [Commented] (FLINK-3280) Wrong usage of Boolean.getBoolean()

    [ https://issues.apache.org/jira/browse/FLINK-3280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113123#comment-15113123 ] 

Robert Metzger commented on FLINK-3280:
---------------------------------------

Hi,
This pull request contains a fix for the issue: https://github.com/apache/flink/pull/1541



> Wrong usage of Boolean.getBoolean()
> -----------------------------------
>
>                 Key: FLINK-3280
>                 URL: https://issues.apache.org/jira/browse/FLINK-3280
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>
> I observed the problem in both FlinkKafkaProducerBase.java and FlinkKafkaConsumer09.java
> From FlinkKafkaProducerBase.java :
> {code}
> if(!Boolean.getBoolean(producerConfig.getProperty(KEY_DISABLE_METRICS, "false"))) {
> {code}
> Boolean.getBoolean() would call System.getProperty(). See http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/java/lang/Boolean.java#238



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)