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

Refactor code #96

Merged
merged 2 commits into from Apr 11, 2020
Merged

Refactor code #96

merged 2 commits into from Apr 11, 2020

Conversation

robinvanpoppel
Copy link
Collaborator

Go through the code and cleanup as I go.

The changes can be split up over multiple PR's, For now I chose to do this in one go and see what I would end up with. These changes are not yet tested.

  • Removed dead code
  • Whitespace / newlines
  • Prefer var
  • Prefer not initializing fields explicitly
  • Seal classes
  • Use auto properties
  • Dispose of IDisposable instances

Go through the code and cleanup as I go.

The changes can be split up over multiple PR's, but I chose to do this in one go to see what I would end up with.
These changes are not yet tested.

* Removed dead code
* Whitespace / newlines
* Prefer var
* Prefer not initializing fields explicitly
* Seal classes
* Use auto properties
* Dispose of IDisposable instances
@robinvanpoppel robinvanpoppel marked this pull request as draft April 10, 2020 15:55
Copy link
Contributor

@dannoe dannoe left a comment

Choose a reason for hiding this comment

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

Looks good

@robinvanpoppel robinvanpoppel marked this pull request as ready for review April 10, 2020 20:09
@robinvanpoppel
Copy link
Collaborator Author

I did not find any issues testing this locally.

@robinvanpoppel robinvanpoppel merged commit e705a6f into master Apr 11, 2020
@robinvanpoppel robinvanpoppel deleted the refactoring branch April 11, 2020 07:47
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.

None yet

2 participants