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

Apply demorgan's laws to simplify load code #371

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

Conversation

sixolet
Copy link

@sixolet sixolet commented Apr 2, 2016

Previously, the load code contained two branches on either side of an
unconditional file load. Their predicates were the exact opposite of each
other, according to Demorgan's laws.

Clarify the code by replacing the two confusing branches with one clearer
branch.

This does not change functionality; there's no relevant bug in the system.

Previously, the load code contained two branches on either side of an
unconditional file load.  Their predicates were the exact opposite of each
other, according to Demorgan's laws.

Clarify the code by replacing the two confusing branches with one clearer
branch.

This does not change functionality; there's no relevant bug in the system.
@codecov-io
Copy link

Current coverage is 89.74%

Merging #371 into master will decrease coverage by -0.01% as of eb182fc

@@            master    #371   diff @@
======================================
  Files           23      23       
  Stmts         3854    3852     -2
  Branches         0       0       
  Methods          0       0       
======================================
- Hit           3459    3457     -2
  Partial          0       0       
  Missed         395     395       

Review entire Coverage Diff as of eb182fc

Powered by Codecov. Updated on successful CI builds.

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

Successfully merging this pull request may close these issues.

None yet

4 participants