[ https://issues.apache.org/jira/browse/FLINK-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284662#comment-16284662 ]
ASF GitHub Bot commented on FLINK-8228: --------------------------------------- GitHub user yew1eb opened a pull request: https://github.com/apache/flink/pull/5143 [FLINK-8228][cleanup] Code cleanup - pointless bitwise expressions ## Brief change log Remove pointless bitwise expressions, Such expressions include anding with zero, oring by zero, and shifting by zero. ## Verifying this change This change is a trivial rework / code cleanup without any test coverage. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (yes / **no**) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**) - The serializers: (yes / **no** / don't know) - The runtime per-record code paths (performance sensitive): (yes / **no** / don't know) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know) - The S3 file system connector: (yes / **no** / don't know) ## Documentation - Does this pull request introduce a new feature? (yes / **no**) - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) You can merge this pull request into a Git repository by running: $ git pull https://github.com/yew1eb/flink FLINK-8228 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5143.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 #5143 ---- commit 110c05f24e2e5d49a8bca6de6f495ddfbca5b31a Author: yew1eb <yew...@gmail.com> Date: 2017-12-09T08:21:06Z [FLINK-8228][cleanup] Code cleanup - pointless bitwise expressions ---- > Code cleanup - pointless bitwise expressions > -------------------------------------------- > > Key: FLINK-8228 > URL: https://issues.apache.org/jira/browse/FLINK-8228 > Project: Flink > Issue Type: Improvement > Components: Checkstyle > Affects Versions: 1.4.0 > Reporter: Hai Zhou UTC+8 > Assignee: Hai Zhou UTC+8 > Priority: Trivial > Fix For: 1.5.0 > > > Such expressions include anding with zero, oring by zero, and shifting by > zero. -- This message was sent by Atlassian JIRA (v6.4.14#64029)