flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Metzger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3280) Wrong usage of Boolean.getBoolean()
Date Fri, 22 Jan 2016 21:32:39 GMT

    [ 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)

Mime
View raw message