Skip to content

Fix settings hashtable input#491

Merged
kapilmb merged 2 commits into
developmentfrom
FixSettingHashtable
Apr 5, 2016
Merged

Fix settings hashtable input#491
kapilmb merged 2 commits into
developmentfrom
FixSettingHashtable

Conversation

@kapilmb

@kapilmb kapilmb commented Apr 4, 2016

Copy link
Copy Markdown

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
Copy Markdown
Member

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


Comments from Reviewable

@raghushantha

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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