GitHub user kirill-vlasov opened a pull request: https://github.com/apache/groovy/pull/232
Two branches in the same conditional structure should not have exactly the same implementation This pull request is focused on resolving occurrences of Sonar rule squid:S1871 - Two branches in the same conditional structure should not have exactly the same implementation You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S1871 Please let me know if you have any questions. Kirill Vlasov You can merge this pull request into a Git repository by running: $ git pull https://github.com/DevFactory/groovy staging/Two-branches-in-the-same-conditional-structure-should-not-have-exactly-the-same-implementation-fix-3 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/groovy/pull/232.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 #232 ---- commit dd04e9147e98d5a5568f1fd41b784577b28c2c4c Author: Kirill Vlasov <kirill.vla...@devfactory.com> Date: 2015-12-30T05:58:47Z Fixing squid:S1871 - Two branches in the same conditional structure should not have exactly the same implementation ---- --- 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. ---