Skip to content

squid:S1066 - Collapsible if statements should be merged#4

Open
m-ezzat wants to merge 1 commit into
TKJElectronics:masterfrom
DevFactory:release/collapsible-if-statements-should-be-merged-fix-1
Open

squid:S1066 - Collapsible if statements should be merged#4
m-ezzat wants to merge 1 commit into
TKJElectronics:masterfrom
DevFactory:release/collapsible-if-statements-should-be-merged-fix-1

Conversation

@m-ezzat
Copy link
Copy Markdown
Contributor

@m-ezzat m-ezzat commented May 27, 2016

This pull request is focused on resolving occurrences of Sonar rule squid:S1066 - Collapsible "if" statements should be merged

You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S1066

Please let me know if you have any questions.

M-Ezzat

}
}
} else if (checkTab(ViewPagerAdapter.INFO_FRAGMENT) && mChatService != null) {
if (mChatService.getState() == BluetoothChatService.STATE_CONNECTED) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this check?

@Lauszus
Copy link
Copy Markdown
Member

Lauszus commented May 27, 2016

@m-ezzat please see my inline comments. This PR actually does not compile: https://travis-ci.org/TKJElectronics/BalanduinoAndroidApp/builds/133403762. Is there any particular reason why you want to do all this?

@m-ezzat
Copy link
Copy Markdown
Contributor Author

m-ezzat commented May 27, 2016

@Lauszus, I updated the PR, the reason is to fix the current code quality issues, as we agreed me & Mr.Thomas Kølbæk. Thanks for your notices!

@m-ezzat
Copy link
Copy Markdown
Contributor Author

m-ezzat commented Jun 28, 2016

I am not sure whether you do not agree with these changes or not. Please close this PR if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants