Skip to content

Fix settings hashtable input #491

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

Merged
merged 2 commits into from
Apr 5, 2016
Merged

Fix settings hashtable input #491

merged 2 commits into from
Apr 5, 2016

Conversation

kapilmb
Copy link

@kapilmb kapilmb commented Apr 4, 2016

Hashtable keys were compared in case-sensitive manner to lower case valid
keys while adding values to the lists of severity, rule inclusion and rule
exclusion.

This commit also remove the relevant code duplication in ParseProfileHashtable
and ParseProfileString while adding the values to the respective lists.

Fixes #475


This change is Reviewable

Hashtable keys were compared in case-sensitive manner to lower case valid
keys while adding values to the lists of severity, rule inclusion and rule
exclusion.

This commit also remove the relevant code duplication in ParseProfileHashtable
and ParseProfileString while adding the values to the respective lists.
@raghushantha
Copy link
Member

Engine/ScriptAnalyzer.cs, line 219 [r1] (raw file):
Validate Input parameters
Rename method name to 'AddProfileItem'


Comments from Reviewable

@raghushantha
Copy link
Member

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

* Changes the name to AddProfileItem
* Adds input argument validation
@raghushantha
Copy link
Member

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.


Comments from Reviewable

@raghushantha
Copy link
Member

:lgtm:


Comments from Reviewable

@kapilmb kapilmb merged commit 050eb7a into development Apr 5, 2016
@kapilmb kapilmb deleted the FixSettingHashtable branch April 5, 2016 17:27
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.

3 participants