mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2024-12-13 05:35:39 +02:00
375 B
375 B
Structure constructor has too many keys
Check structure constructor has more then 3 keys
Noncompliant Code Example
Parameters = new Structure("Key1, Key2, Key3, Key4");
Compliant Solution
Parameters = new Structure();
Parameters.Insert("Key1");
Parameters.Insert("Key2");
Parameters.Insert("Key3");
Parameters.Insert("Key3");