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

delete useless var “j” #16676

Closed
wants to merge 1 commit into from
Closed

Conversation

xiaoyesoso
Copy link
Contributor

the var “j” defined in "var j = 0" is useless for “def compress”

the var “j” defined in "var j = 0" is useless for “def compress”
@srowen
Copy link
Member

srowen commented Jan 23, 2017

@xiaoyesoso we usually do not merge changes this trivial, that have no real impact on the code. I agree it can be removed. It would be helpful if you can look for other unused variables -- IDEs like IntelliJ can do this. We could try to fix many of these at once. If it's your first contribution we often will merge something like this anyway but not regularly.

@xiaoyesoso
Copy link
Contributor Author

@srowen Yes, it's my first contribution.Thank you.

@MLnick
Copy link
Contributor

MLnick commented Jan 24, 2017

ok to test

@SparkQA
Copy link

SparkQA commented Jan 24, 2017

Test build #71927 has finished for PR 16676 at commit cf8211a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Jan 24, 2017

Merged to master. Please read http://spark.apache.org/contributing.html for next time.

@asfgit asfgit closed this in cca8680 Jan 24, 2017
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
the var “j” defined in "var j = 0" is useless for “def compress”

Author: Souljoy Zhuo <zhuoshoujie@126.com>

Closes apache#16676 from xiaoyesoso/patch-1.
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
the var “j” defined in "var j = 0" is useless for “def compress”

Author: Souljoy Zhuo <zhuoshoujie@126.com>

Closes apache#16676 from xiaoyesoso/patch-1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants