Type | Scope | Severity | Activated by default |
Minutes to fix |
Tags |
---|---|---|---|---|---|
Code smell |
BSL |
Minor |
Yes |
2 |
deprecated |
Method "Find" is deprecated. Use "StrFind" instead.
Incorrect:
If Find(Employee.Name, "Boris") > 0 Then
EndIf;
Correct:
If StrFind(Employee.Name, "Boris") > 0 Then
EndIf;
// BSLLS:DeprecatedFind-off
// BSLLS:DeprecatedFind-on
"DeprecatedFind": false