GitHub user PallaviSingh1992 opened a pull request: https://github.com/apache/incubator-carbondata/pull/336
[CARBONDATA-426] replace if else with conditional operator Replaced the if-else with Conditional operator. Reduced the number of variables used. Reduced the boiler plating by removing redundant conditional checks. You can merge this pull request into a Git repository by running: $ git pull https://github.com/PallaviSingh1992/incubator-carbondata feature/codeReadability Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/336.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 #336 ---- commit 9e96073c9ac020d49ca031ecb04fc0697efb7476 Author: PallaviSingh1992 <pallavisingh_1...@yahoo.co.in> Date: 2016-11-18T09:58:26Z replaced if else with conditional operator ---- --- 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. ---