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

Removed brackets around switch cases #55

Merged
merged 1 commit into from
Oct 7, 2014
Merged

Removed brackets around switch cases #55

merged 1 commit into from
Oct 7, 2014

Conversation

johnhaley81
Copy link
Collaborator

The code complexity tool was not registering break inside of a bracketed
code block and was thinking that every switch case was falling through
to the next. This gave an inflated code complexity score so I just
decided to remove the brackets.

The code complexity tool was not registering `break` inside of a bracketed
code block and was thinking that every switch case was falling through
to the next. This gave an inflated code complexity score so I just
decided to remove the brackets.
@johnhaley81
Copy link
Collaborator Author

@tbranyen you cool with this?

@tbranyen
Copy link
Owner

tbranyen commented Oct 7, 2014

Yup, thanks!

tbranyen added a commit that referenced this pull request Oct 7, 2014
Removed brackets around switch cases
@tbranyen tbranyen merged commit 8141dd4 into master Oct 7, 2014
@tbranyen tbranyen deleted the code-complexity branch October 7, 2014 00:57
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