nobrackets

handle:[METHODNAME] should have brackets

Rule "nobrackets" gives this warning when it finds a handle:method statement without brackets. The following methods are watched for by this rule:

     
     hQuery:OPEN-QUERY.
     hQuery:GET-FIRST.
     hQuery:GET-NEXT.
     hQuery:GET-PREV.
     hQuery:GET-LAST.
     hQuery:CLOSE-QUERY.

Each of these methods should really end with brackets, just like any other method. Other methods (not included in this list) will be reported by rule "noeffect" because methods without brackets look like properties.

how to solve this:

Use brackets, like in the following example:

     
     hQuery:OPEN-QUERY().
     hQuery:GET-FIRST().
     hQuery:GET-NEXT().
     hQuery:GET-PREV().
     hQuery:GET-LAST().
     hQuery:CLOSE-QUERY().

How to suppress these warnings:

You can put directive {&_proparse_ prolint-nowarn(nobrackets)} directly before
the offending statement.
See also: suppress warnings.