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

Use constructor arguments instead of properties in more places #247

Merged
merged 2 commits into from
Nov 15, 2016

Conversation

stig
Copy link
Collaborator

@stig stig commented Nov 14, 2016

Move away from properties for the Writer
Settable properties implies that we can change writer properties during
writing, which is not a great idea. So set properties only in the constructor.

Change stream writer to take read-only properties in constructor

Use constructor arguments rather than properties in stream parser

@stig stig changed the title Add a test program for running under American Fuzzy Lop Use constructor arguments instead of properties in more places Nov 14, 2016
Settable properties implies that we can change writer properties during
writing, which is not a great idea. So set properties only in the constructor.
@codecov-io
Copy link

codecov-io commented Nov 15, 2016

Current coverage is 90.41% (diff: 95.12%)

Merging #247 into master will decrease coverage by 0.10%

@@             master       #247   diff @@
==========================================
  Files            17         17          
  Lines          1023       1033    +10   
  Methods         233        231     -2   
  Messages          0          0          
  Branches        106        106          
==========================================
+ Hits            926        934     +8   
- Misses           58         60     +2   
  Partials         39         39          

Powered by Codecov. Last update d788eb1...20d2700

@stig stig merged commit 587a88d into master Nov 15, 2016
@stig stig deleted the more-constructor-args branch November 15, 2016 12:26
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