Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

m-ezzat
Copy link
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

@@ -405,14 +404,12 @@ public void onTabSelected(ActionBar.Tab tab, FragmentTransaction fragmentTransac
}
}
} else if (checkTab(ViewPagerAdapter.INFO_FRAGMENT) && mChatService != null) {
if (mChatService.getState() == BluetoothChatService.STATE_CONNECTED) {
Copy link
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
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
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
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