Skip to content

Commit 1ca8934

Browse files
Apply suggestions from code review
Co-authored-by: Reneta Popova <[email protected]>
1 parent ca80cfe commit 1ca8934

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3545,30 +3545,30 @@ RETURN *
35453545
=====
35463546

35473547
[#_neo_clientnotification_statement_redundantoptionalprocedure]
3548-
=== Redundant Optional Procedure
3548+
=== Redundant optional procedure
35493549

3550-
.notification details
3550+
.Notification details
35513551
[cols="<1s,<4"]
35523552
|===
3553-
|neo4j code
3554-
m|neo.clientnotification.statement.redundantoptionalprocedure
3555-
|title
3553+
|Neo4j code
3554+
m|Neo.ClientNotification.Statement.RedundantOptionalProcedure
3555+
|Title
35563556
a|The use of `OPTIONAL` is redundant when the procedure calls a void procedure.
3557-
|description
3558-
|The use of `OPTIONAL` is redundant as `CALL %s` is a void procedure.
3559-
|category
3560-
m|generic
3561-
|gqlstatus code
3562-
m|03n61
3563-
|status description
3564-
a|info: redundant optional procedure. The use of `OPTIONAL` is redundant as `CALL %s` is a void procedure.
3565-
|classification
3566-
m|generic
3567-
|severitylevel
3568-
m|information
3569-
|===
3570-
3571-
.Redundant use of optional on a procedure call.
3557+
|Description
3558+
|The use of `OPTIONAL` is redundant as `CALL $s` is a void procedure.
3559+
|Category
3560+
m|GENERIC
3561+
||GQLSTATUS code
3562+
m|03N61
3563+
|Status description
3564+
a|info: redundant optional procedure. The use of `OPTIONAL` is redundant as `CALL $s` is a void procedure.
3565+
|Classification
3566+
m|GENERIC
3567+
|SeverityLevel
3568+
m|INFORMATION
3569+
|===
3570+
3571+
.Redundant use of `OPTIONAL` in a procedure call
35723572
[.tabbed-example]
35733573
=====
35743574
[.include-with-neo4j-code]
@@ -3584,7 +3584,7 @@ Description of the returned code::
35843584
Optional is redundant in the case of void procedures. The use of `OPTIONAL` on void procedures have no effect and can be removed.
35853585

35863586
Suggestions for improvement::
3587-
If the intended behavior of the query is to use a void procedure the `OPTIONAL` keyword can be removed without impacting the query.
3587+
If the intended behavior of the query is to use a void procedure, the `OPTIONAL` keyword can be removed without impacting the query.
35883588
+
35893589
[source,cypher]
35903590
----
@@ -3594,30 +3594,30 @@ CALL db.createLabel("A")
35943594
=====
35953595

35963596
[#_neo_clientnotification_statement_redundantoptionalsubquery]
3597-
=== Redundant Optional Subquery
3597+
=== Redundant optional subquery
35983598

3599-
.notification details
3599+
.Notification details
36003600
[cols="<1s,<4"]
36013601
|===
3602-
|neo4j code
3603-
m|neo.clientnotification.statement.redundantoptionalsubquery
3604-
|title
3602+
|Neo4j code
3603+
m|Neo.ClientNotification.Statement.RedundantOptionalSubquery
3604+
|Title
36053605
a|The use of `OPTIONAL` is redundant when `CALL` is a unit subquery.
3606-
|description
3606+
|Description
36073607
|The use of `OPTIONAL` is redundant as `CALL` is a unit subquery.
3608-
|category
3609-
m|generic
3610-
|gqlstatus code
3611-
m|03n62
3612-
|status description
3608+
|Category
3609+
m|GENERIC
3610+
|GQLSTATUS code
3611+
m|03N62
3612+
|Status description
36133613
a|info: redundant optional subquery. The use of `OPTIONAL` is redundant as `CALL` is a unit subquery.
3614-
|classification
3615-
m|generic
3616-
|severitylevel
3617-
m|information
3614+
|Classification
3615+
m|GENERIC
3616+
|SeverityLevel
3617+
m|INFORMATION
36183618
|===
36193619

3620-
.Redundant use of optional on a call subquery.
3620+
.Redundant use of `OPTIONAL` in a `CALL` subquery
36213621
[.tabbed-example]
36223622
=====
36233623
[.include-with-neo4j-code]
@@ -3636,7 +3636,7 @@ Description of the returned code::
36363636
Optional is redundant in the case of a unit subquery. The use of `OPTIONAL` on unit subqueries have no effect and can be removed.
36373637

36383638
Suggestions for improvement::
3639-
If the intended behavior of the query is for the subquery not to return any values the `OPTIONAL` keyword can be removed without impacting the query.
3639+
If the intended behavior of the query is for the subquery not to return any values, the `OPTIONAL` keyword can be removed without impacting the query.
36403640
+
36413641
[source,cypher]
36423642
----

0 commit comments

Comments
 (0)