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

refactored Interceptor.Intercept to use a set of strategies. . #31

Merged
merged 2 commits into from
Feb 28, 2013

Conversation

FelicePollano
Copy link
Contributor

Function was previously a little difficult to figure out due to many ifs and returns. I broken up the function in 8 different strategies, of course not yet perfect, but should be easyier to modify/read.

@kzu
Copy link
Member

kzu commented Oct 3, 2012

Much needed refactoring. It's looking very promising. Thanks for working on this.

@FelicePollano
Copy link
Contributor Author

I added the enum. Test still pass. Maybe you would also rename the strategies: My is sometimes just a guessing, maybe they are not generally understendable.

kzu added a commit that referenced this pull request Feb 28, 2013
refactored Interceptor.Intercept to use a set of strategies. .
@kzu kzu merged commit f3a0141 into devlooped:dev Feb 28, 2013
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