[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user asfgit closed the pull request at:

https://github.com/apache/flink/pull/6230


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
I see. I didn't know before.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user zentol commented on the issue:

https://github.com/apache/flink/pull/6230
  
@lamber-ken For the future, please ensure that the first commit message 
includes the JIRA id (like the PR title) and has a proper name.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-08 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
@tillrohrmann, @zentol, cc.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
@zentol, hi, I found another occurrence just after the #6212 closed.
but I can't reopen that pr, so I start a new pr refered to #6212.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user zentol commented on the issue:

https://github.com/apache/flink/pull/6230
  
wait.

Is this a _backport_ of #6212 for 1.5, or an _extension_ that fixes another 
occurrence?


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
@zentol, thanks for review. by the way, what's the best way to backport 
refactorings and code-cleanups?


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user zentol commented on the issue:

https://github.com/apache/flink/pull/6230
  
We typically don't backport refactorings and code-cleanups.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
@tillrohrmann, hi, cc


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-03 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

GitHub user lamber-ken reopened a pull request:

https://github.com/apache/flink/pull/6230

[FLINK-9666] short-circuit logic should be used in boolean contexts

Backport of #6212 .

@tillrohrmann, hi, cc

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lamber-ken/flink FLINK-9666-backport

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/6230.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #6230






> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-02 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
@zentol, ok


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-07-02 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user zentol commented on the issue:

https://github.com/apache/flink/pull/6212
  
@lamber-ken This happened because @tillrohrmann modified the commit message 
to close the PR, which modified the commit hash.
As such, from GitHubs perspective, the PR was closed without the contained 
commit (as identified be the hash) being merged.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken closed the pull request at:

https://github.com/apache/flink/pull/6230


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6230
  
difficult to find it out.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

GitHub user lamber-ken opened a pull request:

https://github.com/apache/flink/pull/6230

[FLINK-9666] short-circuit logic should be used in boolean contexts

Backport of #6212 .

@tillrohrmann, hi, cc

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lamber-ken/flink FLINK-9666-backport

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/6230.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #6230


commit cdd7a400a90612be76a2a585225919a4da24810c
Author: lamber-ken 
Date:   2018-06-30T02:22:09Z

backport of 6212
short-circuit logic should be used in boolean contexts, | -> ||, & -> &&




> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
maybe it's a bug


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
hi, @tillrohrmann, if you don't know, I'll ignore it. it's no problem, 
:smiley: 

This information is always displayed at the bottom of the page. here's it.


![image](https://user-images.githubusercontent.com/20113411/42104543-89da8a06-7bff-11e8-9346-82c149a4f43b.png)







> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user tillrohrmann commented on the issue:

https://github.com/apache/flink/pull/6212
  
Not sure where this comes from. But I've merged your commit into the 
master. See da37daa8ba.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-28 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
hi, @tillrohrmann , what does this mean? 
I don't understand, need I delete the branch?

![image](https://user-images.githubusercontent.com/20113411/42070083-75c684f2-7b87-11e8-96d8-575e11345eff.png)




> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Assignee: lamber-ken
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
hi, @StephanEwen, @tillrohrmann cc.


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

Github user lamber-ken commented on the issue:

https://github.com/apache/flink/pull/6212
  
hi, @StephanEwen, cc, thx


> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FLINK-9666) short-circuit logic should be used in boolean contexts

2018-06-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on FLINK-9666:
---

GitHub user lamber-ken opened a pull request:

https://github.com/apache/flink/pull/6212

[FLINK-9666] short-circuit logic should be used in boolean contexts

## What is the purpose of the change
  - short-circuit logic should be used in boolean contexts, | -> ||, & -> &&

## Brief change log

  - short-circuit logic should be used in boolean contexts, | -> ||, & -> &&

## Verifying this change

  - short-circuit logic should be used in boolean contexts, | -> ||, & -> &&

## Does this pull request potentially affect one of the following parts:

  - Dependencies (does it add or upgrade a dependency): (no)
  - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
  - The serializers: (no)
  - The runtime per-record code paths (performance sensitive): (no)
  - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
  - The S3 file system connector: (no)

## Documentation

  - Does this pull request introduce a new feature? (no)
  - If yes, how is the feature documented? (JavaDocs)


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lamber-ken/flink lamber-ken-fix-FLINK-9666

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/6212.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #6212


commit 1a8e1f6193823e70b1dc6abc1146299042c25c7d
Author: lamber-ken 
Date:   2018-06-20T04:26:10Z

add prometheus pushgateway reporter

commit 96a4bf7cd294bdfa079f3aae47114bbb013f52ac
Author: lamber-ken 
Date:   2018-06-27T07:57:59Z

short-circuit logic should be used in boolean contexts

commit 85e962e252bea2959419e0de4fdeaa474ef2b506
Author: lamber-ken 
Date:   2018-06-27T08:10:07Z

remove prometheus pushgateway




> short-circuit logic should be used in boolean contexts
> --
>
> Key: FLINK-9666
> URL: https://issues.apache.org/jira/browse/FLINK-9666
> Project: Flink
>  Issue Type: Improvement
>  Components: Core, DataStream API
>Affects Versions: 1.5.0
>Reporter: lamber-ken
>Priority: Blocker
>  Labels: pull-request-available
> Fix For: 1.6.0
>
>
> short-circuit logic should be used in boolean contexts



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)