Skip to content

Code cleanup. Removed not used namespaces/using #1195

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

Closed
wants to merge 1 commit into from
Closed

Code cleanup. Removed not used namespaces/using #1195

wants to merge 1 commit into from

Conversation

SychevIgor
Copy link

In the code was a lot of not used namespaces. It's minor changes in the code without any kind backward compatibility issues.

@Mpdreamz
Copy link
Member

Mpdreamz commented Jan 9, 2015

Hi @SychevIgor

Thank you for taking the time to submit a PR but sadly I can't pull this in:

We have set Resharper to never automatically remove common system namespace references, see this similar PR for more background:

#758

As such I can't pull this in and am not likely to pull any future namespace cleanup commits that are not part of a bugfix/new feature change.

Thats not to say we wont accept other cleanup commits but please open a ticket if something bothers you stylistically first 👍

Can you sign the Elasticsearch CLA: http://www.elasticsearch.org/contributor-agreement/ that way we are allowed to pull in any future PR's from you :)

@Mpdreamz Mpdreamz closed this Jan 9, 2015
@SychevIgor
Copy link
Author

Agreement is signed.

In fact it's not stylistics in my particulate case. We are experimenting with api now and build of the project was integrated in Continuous Integration process. One step of the build is static code analysis. Based on our default rule set usings/namespaces are must be used or not presented in the code. There were 1000+ warning from this and we want to fix and observe other potential issues without such a noise.

As I see now - building CI process is not compatible with our default rules and it's easy just save the code on a disk and don't care about build process because it will take a lot of time.

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