[ 
https://issues.apache.org/jira/browse/CALCITE-4422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CALCITE-4422:
------------------------------------
    Labels: pull-request-available  (was: )

> Add MethodCanBeStatic check via ErrorProne
> ------------------------------------------
>
>                 Key: CALCITE-4422
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4422
>             Project: Calcite
>          Issue Type: Improvement
>    Affects Versions: 1.26.0
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> See https://errorprone.info/bugpattern/MethodCanBeStatic
> {quote}A private method that does not reference the enclosing instance can be 
> static{quote}
> Note: the key driver is code readability. If a method is static, it is clear 
> that it can't access instance fields, and all it can access is provided via 
> arguments.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to