Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

CLOSED - Duplicate parameter names - #3502

Closed
matbrgz wants to merge 2 commits into
apache:masterfrom
matbrgz:patch-2
Closed

matbrgz wants to merge 2 commits into
apache:masterfrom
matbrgz:patch-2

Conversation

@matbrgz

@matbrgz matbrgz commented Apr 18, 2019

Copy link
Copy Markdown

If a function has two parameters with the same name, the second parameter shadows the first one, which makes the code hard to understand and error-prone.

@asfgit

asfgit commented Apr 18, 2019

Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@dangogh dangogh added the Traffic Portal v1 related to Traffic Portal version 1 label Apr 18, 2019

@ocket8888 ocket8888 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please fill out the Pull Request template to the best of your ability.

Comment thread traffic_portal/app/src/common/api/AuthService.js
@mitchell852 mitchell852 added bug something isn't working as intended trivial labels Apr 18, 2019
@matbrgz

matbrgz commented Apr 18, 2019

Copy link
Copy Markdown
Author

Done.

@dangogh

dangogh commented Apr 18, 2019

Copy link
Copy Markdown
Member

Please fill out the Pull Request template to the best of your ability.

+1

@ocket8888

Copy link
Copy Markdown
Contributor

This was resolved in #3601

@ocket8888 ocket8888 closed this Aug 2, 2019
@ocket8888 ocket8888 added low impact affects only a small portion of a CDN, and cannot itself break one and removed trivial labels Aug 2, 2019
@mitchell852 mitchell852 changed the title Duplicate parameter names CLOSED - Duplicate parameter names Oct 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

abandoned bug something isn't working as intended low impact affects only a small portion of a CDN, and cannot itself break one Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants