diff --git a/bundles/com.e1c.v8codestyle.bsl/markdown/change-and-validate-instead-of-around.md b/bundles/com.e1c.v8codestyle.bsl/markdown/change-and-validate-instead-of-around.md index dfcb3ec5..5816c54d 100644 --- a/bundles/com.e1c.v8codestyle.bsl/markdown/change-and-validate-instead-of-around.md +++ b/bundles/com.e1c.v8codestyle.bsl/markdown/change-and-validate-instead-of-around.md @@ -1,6 +1,6 @@ -# Use pragma &ChangeAndControl instead of &Around +# Use pragma &ChangeAndValidate instead of &Around -Starting with the platform 8.3.16, you can use pragma &ChangeAndControl instead of pragma &Around in cases where there is no ProceedWithCall call inside the method +Starting with the platform 8.3.16, you can use pragma &ChangeAndValidate instead of pragma &Around in cases where there is no ProceedWithCall call inside the method ## Noncompliant Code Example diff --git a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/ChangeAndValidateInsteadOfAroundCheck.java b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/ChangeAndValidateInsteadOfAroundCheck.java index b10a2740..ced5fdb5 100644 --- a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/ChangeAndValidateInsteadOfAroundCheck.java +++ b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/ChangeAndValidateInsteadOfAroundCheck.java @@ -33,7 +33,7 @@ import com.e1c.g5.v8.dt.check.settings.IssueType; import com.google.inject.Inject; /** - * Checks that pragma &ChangeAndControl is used when there is no call ProceedWithCall + * Checks that pragma &ChangeAndValidate is used when there is no call ProceedWithCall * * @author Aleksandr Kapralov * diff --git a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/messages.properties b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/messages.properties index 6cc76061..91363f55 100644 --- a/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/messages.properties +++ b/bundles/com.e1c.v8codestyle.bsl/src/com/e1c/v8codestyle/bsl/check/messages.properties @@ -20,11 +20,11 @@ CanonicalPragmaCheck_description = Check pragma is written canonically CanonicalPragmaCheck_title = Pragma is written canonically -ChangeAndValidateInsteadOfAroundCheck_Use_ChangeAndValidate_instead_of_Around = It's recommended to use pragma &ChangeAndControl instead of &Around +ChangeAndValidateInsteadOfAroundCheck_Use_ChangeAndValidate_instead_of_Around = It's recommended to use pragma &ChangeAndValidate instead of &Around -ChangeAndValidateInsteadOfAroundCheck_description = Checks that pragma &ChangeAndControl is used when there is no call ProceedWithCall +ChangeAndValidateInsteadOfAroundCheck_description = Checks that pragma &ChangeAndValidate is used when there is no call ProceedWithCall -ChangeAndValidateInsteadOfAroundCheck_title = Use pragma &ChangeAndControl instead of &Around +ChangeAndValidateInsteadOfAroundCheck_title = Use pragma &ChangeAndValidate instead of &Around EmptyExceptStatementCheck_description = Empty except statement